Dear All,
I just write a “hello world” module code,
but I can’t compile it for ppc
My Makefile is list as following:
obj-m := test.o
all:
make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C
/root/linux-
When I run make, no error message output, but I find
no test.ko modules. The output message is list as following:
make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C /root/linux-
2.3 SUBDIR=. modules
make[1]: Entering directory `/root/linux-
CHK
include/linux/version.h
make[2]: `arch/ppc/kernel/asm-offsets.s' is up to
date.
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/root/linux-
Do anyone can give me some help ?
Thanks,
Johnson Cheng