ADD aaa-12 增加内核态netlink通道接收配置信息Makefile文件

RCA:
SOL:
修改人:chenling
检视人:
This commit is contained in:
ChenLing 2019-07-12 09:49:08 +08:00
parent 5ecefeafbf
commit be62a9e70b
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
ifneq ($(KERNELRELEASE), )
obj-m := usercfg_kinit.o
else
#KDIR ?= /opt/fsl-kernel/x86/linux-4.9.140
KDIR ?= /opt/fsl-kernel/arm64/linux-4.9.140
#PWD := $(shell pwd)
all:
make -C $(KDIR) M=$(PWD) modules
clean:
make -C $(KDIR) M=$(PWD) clean
endif