secgateway/Platform/modules/cfgrcv/Makefile

18 lines
431 B
Makefile
Raw Normal View History

2019-06-11 03:21:35 +00:00
#Makefile 2.6
export HUACHENG_LINUX_KERNEL
DEFINES :=
INCLUDE := -I../lib -I../common
LIB :=
obj-m :=cfgrcv.o
cfgrcv-objs := cfgrcv_kinit.o
KERNEL :=$(HUACHENG_LINUX_KERNEL)
PWD :=$(shell pwd)
modules :
echo $HUACHENG_LINUX_KERNEL
$(MAKE) $(INCLUDE) -C $(KERNEL) M=$(PWD) modules
.PHONEY:clean
clean :
rm -rf *.o *.mod.c *.ko *.symvers *.order *.makers .*.cmd *.cmd .tmp_versions .cache.mk