1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 TEST_PROGS := gpio-mockup.sh gpio-sim.sh !! 3 TEST_PROGS := gpio-mockup.sh 4 TEST_FILES := gpio-mockup-sysfs.sh !! 4 TEST_FILES := gpio-mockup-sysfs.sh $(BINARIES) 5 TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gp !! 5 BINARIES := gpio-mockup-chardev 6 CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) !! 6 EXTRA_PROGS := ../gpiogpio-event-mon ../gpiogpio-hammer ../gpiolsgpio >> 7 EXTRA_DIRS := ../gpioinclude/ >> 8 EXTRA_OBJS := ../gpiogpio-event-mon-in.o ../gpiogpio-event-mon.o >> 9 EXTRA_OBJS += ../gpiogpio-hammer-in.o ../gpiogpio-utils.o ../gpiolsgpio-in.o >> 10 EXTRA_OBJS += ../gpiolsgpio.o 7 11 >> 12 KSFT_KHDR_INSTALL := 1 8 include ../lib.mk 13 include ../lib.mk >> 14 >> 15 all: $(BINARIES) >> 16 >> 17 override define CLEAN >> 18 $(RM) $(BINARIES) $(EXTRA_PROGS) $(EXTRA_OBJS) >> 19 $(RM) -r $(EXTRA_DIRS) >> 20 endef >> 21 >> 22 CFLAGS += -O2 -g -std=gnu99 -Wall -I../../../../usr/include/ >> 23 LDLIBS += -lmount -I/usr/include/libmount >> 24 >> 25 $(BINARIES):| khdr >> 26 $(BINARIES): ../../../gpio/gpio-utils.o >> 27 >> 28 ../../../gpio/gpio-utils.o: >> 29 make ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C ../../../gpio
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.