Makefile 285 B

12345678910111213141516
  1. ifneq ($(CONFIG_CONNECTOR),)
  2. obj-m += cn_test.o
  3. endif
  4. # List of programs to build
  5. hostprogs-y := ucon
  6. # Tell kbuild to always build the programs
  7. always := $(hostprogs-y)
  8. HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
  9. all: modules
  10. modules clean:
  11. $(MAKE) -C ../.. SUBDIRS=$(PWD) $@