driver$ make ARCH=powerpc CROSS_COMPILE=$CROSS_COMPILE CC="${CC}" LD="${LD}" AR="${AR}" OBJCOPY="${OBJCOPY}"
make -I . ARCH=powerpc CROSS_COMPILE=powerpc64-fsl-linux- -C /home/ast/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/build/ M=/mnt/work/7900/ALTHEA7910/driver modules
make[1]: Entering directory `/home/ast/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/build'
CC [M] /mnt/work/src/driver/test_drvr.o
powerpc64-fsl-linux-ld: unrecognized option '-Wl,-O1'
powerpc64-fsl-linux-ld: use the --help option for usa
Have you follow the
FAQ | QorIQ SDK v2.0-1703 Documentation | NXP Semiconductors
"How do I use standalone toolchain to build kernel?".
Please refer to FAQ | QorIQ SDK v2.0-1703 Documentation | NXP Semiconductors
Find the "How do I use standalone toolchain to build kernel?".
Compile your own defined kernel module and compile to generate ko
hi June_Lu ,
Write your own kernel module;