|
>There is no define like CONFIG_PLATFORM_ARM_SUN8I, you probably add it on your own?
Yes. I added it based on our exchange.
>Just set CONFIG_PLATFORM_ARM_SUN8I_W3P1 to y
Changed in the Makefile:
CONFIG_PLATFORM_ARM_SUN8I = n
CONFIG_PLATFORM_ARM_SUN8I_W3P1 = y
>set CONFIG_BR_EXT to n to remove some unneeded cruft
Disabled it as well.
root@orangepiplus:/usr/src/rtl8189ES_linux# make ARCH=arm KSRC=/usr/src/linux-headers-3.4.110-sun8i
make ARCH=arm CROSS_COMPILE=/home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi- -C /usr/src/linux-headers-3.4.110-sun8i M=/usr/src/rtl8189ES_linux modules
make[1]: Entering directory '/usr/src/linux-headers-3.4.110-sun8i'
make[1]: /home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: Command not found
CC [M] /usr/src/rtl8189ES_linux/core/rtw_cmd.o
/bin/sh: 1: /home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: not found
scripts/Makefile.build:307: recipe for target '/usr/src/rtl8189ES_linux/core/rtw_cmd.o' failed
make[2]: *** [/usr/src/rtl8189ES_linux/core/rtw_cmd.o] Error 127
Makefile:1367: recipe for target '_module_/usr/src/rtl8189ES_linux' failed
make[1]: *** [_module_/usr/src/rtl8189ES_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.4.110-sun8i'
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2
Is something missing, like arm-linux-gnueabi-gcc ?
Another ARCH definition doesn't run either:
root@orangepiplus:/usr/src/rtl8189ES_linux# make ARCH=arm/mach-sunxi KSRC=/usr/src/linux-headers-3.4.110-sun8i
make ARCH=arm/mach-sunxi CROSS_COMPILE=/home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi- -C /usr/src/linux-headers-3.4.110-sun8i M=/usr/src/rtl8189ES_linux modules
make[1]: Entering directory '/usr/src/linux-headers-3.4.110-sun8i'
make[1]: /home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: Command not found
CC [M] /usr/src/rtl8189ES_linux/core/rtw_cmd.o
/bin/sh: 1: /home/android_sdk/Allwinner/a23/android-kk44/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: not found
scripts/Makefile.build:307: recipe for target '/usr/src/rtl8189ES_linux/core/rtw_cmd.o' failed
make[2]: *** [/usr/src/rtl8189ES_linux/core/rtw_cmd.o] Error 127
Makefile:1367: recipe for target '_module_/usr/src/rtl8189ES_linux' failed
make[1]: *** [_module_/usr/src/rtl8189ES_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.4.110-sun8i'
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2
root@orangepiplus:/usr/src/rtl8189ES_linux#
|
|