2 TEST_PROGS
:= gpio-mockup.sh
3 TEST_FILES
:= gpio-mockup-sysfs.sh
$(BINARIES
)
4 BINARIES
:= gpio-mockup-chardev
13 CFLAGS
+= -O2
-g
-std
=gnu99
-Wall
-I..
/..
/..
/..
/usr
/include/
14 LDLIBS
+= -lmount
-I
/usr
/include/libmount
16 $(BINARIES
): ..
/..
/..
/gpio
/gpio-utils.o ..
/..
/..
/..
/usr
/include/linux
/gpio.h
18 ..
/..
/..
/gpio
/gpio-utils.o
:
19 make ARCH
=$(ARCH
) CROSS_COMPILE
=$(CROSS_COMPILE
) -C ..
/..
/..
/gpio
21 ..
/..
/..
/..
/usr
/include/linux
/gpio.h
:
22 make
-C ..
/..
/..
/.. headers_install INSTALL_HDR_PATH
=$(shell pwd
)/..
/..
/..
/..
/usr
/