1 # SPDX-License-Identifier: GPL-2.0 << 2 obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o 1 obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o 3 2 4 userprogs-always-$(CONFIG_CC_CAN_LINK) += ucon !! 3 # List of programs to build >> 4 ifdef CONFIG_SAMPLE_CONNECTOR >> 5 hostprogs-y := ucon >> 6 endif 5 7 6 userccflags += -I usr/include !! 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) $@
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.