# target name, the target name must have the same name of c source file TARGET_NAME=tst_ncd # target # for linux module driver: KO # for application: EXE # for dynamic library: DLL TARGET_TYPE = KO # target object # for application: APP # for device driver: DRV TARGET_OBJ = DRV TARGET_BOX = rom #debug mode or release mode DEBUG = TRUE PLAT_MPC8309 ?= FALSE PLAT_P1010 ?= TRUE PLAT_MV78460 ?= FALSE PLAT_LINUX32 ?= FALSE PLAT_WIN32 ?= FALSE PLAT_WIN64 ?= FALSE VPATH = ./common/ COMMON_SRCS = mod_entry.c \ ../debug_info.c \ tst_case.c \ ../log.c # source code # set the source file, don't used .o because of ... PLAT_P1010_SRCS = $(COMMON_SRCS) PLAT_MV78460_SRCS = $(COMMON_SRCS) # gcc CFLAGS PLAT_P1010_CFLAGS := -I../common/ -I../../gianfar/ -I../ PLAT_MV78460_CFLAGS := -I./common/ -I./mv_netdev/ #PLAT_MV78460_CFLAGS := -D../common/ include ../../../../../../drivers/srcs/Makefile.cross $(shell find ./ -name "*.ko" -delete) # this line must be at below of thus, because of...