AW: modules out of tree issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lucas,

thank you for your answer.

here my make file:
(ore is an attachment better here?)

#My environment variables 
G3_KERNEL_NAME=3.14.17 #<-- works
G3_KERNEL_NAME=3.18.1  #<-- works not

G3_ACT_BSP_PATH=/opt/g3DevelBase/g3Toolchain/g3Bsp/sd3XenoArmImx.Bsp.V2
G3_PLATFORM_NAME=sm-arm
G3_TARGET_SYS=${G3_ACT_BSP_PATH}/selected_toolchain/arm-v7a-linux-gnueabi

OUTPUT_DIR = out
#Source
SOURCE_DIR = internal/src
SOURCES = ${SOURCE_DIR}/sm36502_uio.o 

#Kernelversion
TARGET_KERNEL_VERSION=${G3_KERNEL_NAME}

#Kernel Modul Name 
KMODUL_OBJ=g3k_36502

#KernelSRC
TARGET_KERNEL_SRC=${G3_ACT_BSP_PATH}/platform-${G3_PLATFORM_NAME}/build-target/linux-${G3_KERNEL_NAME}

obj-m :=  ${OUTPUT_DIR}/${KMODUL_OBJ}.o
${OUTPUT_DIR}/${KMODUL_OBJ}-objs := ${SOURCES}
 
all:
	make  ARCH=arm CROSS_COMPILE=${G3_TARGET_SYS}- -C ${TARGET_KERNEL_SRC} M=$$PWD  modules
   
clean:
	make -C ${TARGET_KERNEL_SRC} M=$(PWD) clean
	

I change only the kernel tree from 3.14 to 3.18. Bothe are installed under my TARGET_KERNEL_SRC.
Under 3.14 was only the linker active and say: no inputfiles.
I miss the compile stage.
3.18 works fine.

---
Alex

��.n��������+%������w��{.n�����{��j�W��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux