Based on kernel version 4.6.2. Page generated on 2016-06-08 13:01 EST.
1 ifneq ($(CONFIG_CONNECTOR),) 2 obj-m += cn_test.o 3 endif 4 5 # List of programs to build 6 hostprogs-y := ucon 7 8 # Tell kbuild to always build the programs 9 always := $(hostprogs-y) 10 11 HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include 12 13 all: modules 14 15 modules clean: 16 $(MAKE) -C ../.. SUBDIRS=$(PWD) $@