Hi!
I'm trying to compile usbserial-related modules for my Xperia Ray that's still on stock GB. What I have done:
Any ideas?
I'm trying to compile usbserial-related modules for my Xperia Ray that's still on stock GB. What I have done:
- downloaded the correct SE kernel sources
- installed the latest Google's NDK
- loaded the default Ray kernel config (make semc_urushi_defconfig)
- set up usbserial and pl2303 as modules (make menuconfig)
- export ARCH=arm
- export CROSS_COMPILE=......./android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-
- edited Makefile and set KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Wno-unused-but-set-variable -o-uninitialized -fno-strict-aliasing -fno-common -Wimplicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks
- make CFLAGS_MODULE=-fno-pic modules
Any ideas?
Aucun commentaire:
Enregistrer un commentaire