1 ################################################################################
5 ################################################################################
9 GPIO_MAKE_OPTS
= $(LINUX_MAKE_FLAGS
)
11 define GPIO_BUILD_CMDS
12 $(Q
)if
! grep
install $(LINUX_DIR
)/tools
/gpio
/Makefile
>/dev
/null
2>&1 ; then \
13 echo
"Your kernel version is too old and does not have the gpio tools." ; \
14 echo
"At least kernel 4.8 must be used." ; \
18 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(LINUX_DIR
)/tools \
23 define GPIO_INSTALL_TARGET_CMDS
24 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(LINUX_DIR
)/tools \
26 DESTDIR
=$(TARGET_DIR
) \