Makefile 311 B

1234567891011121314151617
  1. obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o
  2. # List of programs to build
  3. ifdef CONFIG_SAMPLE_CONNECTOR
  4. hostprogs-y := ucon
  5. endif
  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) $@