Makefile 349 B

1234567891011121314151617
  1. # SPDX-License-Identifier: GPL-2.0
  2. obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o
  3. # List of programs to build
  4. ifdef CONFIG_SAMPLE_CONNECTOR
  5. hostprogs-y := ucon
  6. endif
  7. # Tell kbuild to always build the programs
  8. always := $(hostprogs-y)
  9. HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
  10. all: modules
  11. modules clean:
  12. $(MAKE) -C ../.. SUBDIRS=$(CURDIR) $@