secgateway/Product/modules/proc_api/Makefile

14 lines
310 B
Makefile
Raw Normal View History

ifneq ($(KERNELRELEASE), )
obj-m := procapi.o
procapi-objs += proc_api.o cJSON.o
else
#KDIR ?= /opt/fsl-kernel/x86/linux-4.9.140
#KDIR ?= /home/hx/raspberrypi/linux
KDIR ?= $(HUACHENG_ARM64_KERNEL)
#PWD := $(shell pwd)
all:
make -C $(KDIR) M=$(PWD) modules
clean:
make -C $(KDIR) M=$(PWD) clean
endif