1 # SPDX-License-Identifier: GPL-2.0 << 2 1 3 TEST_PROGS := gpio-mockup.sh gpio-sim.sh !! 2 TEST_PROGS := gpio-mockup.sh 4 TEST_FILES := gpio-mockup-sysfs.sh !! 3 TEST_FILES := gpio-mockup-sysfs.sh $(BINARIES) 5 TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gp !! 4 BINARIES := gpio-mockup-chardev 6 CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) << 7 5 8 include ../lib.mk 6 include ../lib.mk >> 7 >> 8 all: $(BINARIES) >> 9 >> 10 clean: >> 11 $(RM) $(BINARIES) >> 12 >> 13 CFLAGS += -O2 -g -std=gnu99 -Wall -I../../../../usr/include/ >> 14 LDLIBS += -lmount -I/usr/include/libmount >> 15 >> 16 $(BINARIES): ../../../gpio/gpio-utils.o ../../../../usr/include/linux/gpio.h >> 17 >> 18 ../../../gpio/gpio-utils.o: >> 19 make ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C ../../../gpio >> 20 >> 21 ../../../../usr/include/linux/gpio.h: >> 22 make -C ../../../.. headers_install INSTALL_HDR_PATH=$(shell pwd)/../../../../usr/ >> 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.