mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
selftests/gpio: Move include of lib.mk up
[ Upstream commit 449539da2e ]
Move the include of lib.mk up so that in a subsequent patch we can use
OUTPUT, which is initialised by lib.mk, in the definition of the GPIO
variables.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
beac83e8bd
commit
008f98f1db
|
|
@ -13,6 +13,9 @@ TEST_PROGS := gpio-mockup.sh
|
||||||
TEST_FILES := gpio-mockup-sysfs.sh
|
TEST_FILES := gpio-mockup-sysfs.sh
|
||||||
TEST_GEN_PROGS_EXTENDED := gpio-mockup-chardev
|
TEST_GEN_PROGS_EXTENDED := gpio-mockup-chardev
|
||||||
|
|
||||||
|
KSFT_KHDR_INSTALL := 1
|
||||||
|
include ../lib.mk
|
||||||
|
|
||||||
GPIODIR := $(realpath ../../../gpio)
|
GPIODIR := $(realpath ../../../gpio)
|
||||||
GPIOOBJ := gpio-utils.o
|
GPIOOBJ := gpio-utils.o
|
||||||
|
|
||||||
|
|
@ -21,9 +24,6 @@ override define CLEAN
|
||||||
$(MAKE) -C $(GPIODIR) OUTPUT=$(GPIODIR)/ clean
|
$(MAKE) -C $(GPIODIR) OUTPUT=$(GPIODIR)/ clean
|
||||||
endef
|
endef
|
||||||
|
|
||||||
KSFT_KHDR_INSTALL := 1
|
|
||||||
include ../lib.mk
|
|
||||||
|
|
||||||
$(TEST_GEN_PROGS_EXTENDED): $(GPIODIR)/$(GPIOOBJ)
|
$(TEST_GEN_PROGS_EXTENDED): $(GPIODIR)/$(GPIOOBJ)
|
||||||
|
|
||||||
$(GPIODIR)/$(GPIOOBJ):
|
$(GPIODIR)/$(GPIOOBJ):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user