diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2018-01-22 12:59:17 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-29 08:26:46 +0100 |
commit | f94c5f3b28e967c73c49dcda43b4b458f5b79e73 (patch) | |
tree | 2b822febf6ce4b848ebb2988c5911c2b373f6a4b /arch/sandbox/Makefile | |
parent | 25a12a30c7038e85187aa12baa2807c716dc8293 (diff) | |
download | barebox-f94c5f3b28e967c73c49dcda43b4b458f5b79e73.tar.gz barebox-f94c5f3b28e967c73c49dcda43b4b458f5b79e73.tar.xz |
sandbox: add gpio support with libftdi1
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/Makefile')
-rw-r--r-- | arch/sandbox/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 9d545c3b71..85c70b5e80 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -41,9 +41,13 @@ ifeq ($(CONFIG_DRIVER_VIDEO_SDL),y) SDL_LIBS := $(shell pkg-config sdl --libs) endif +ifeq ($(CONFIG_GPIO_LIBFTDI1),y) +FTDI1_LIBS := $(shell pkg-config libftdi1 --libs) +endif + cmd_barebox__ = $(CC) -o $@ -Wl,-T,$(barebox-lds) \ -Wl,--start-group $(barebox-common) -Wl,--end-group \ - -lrt -lpthread $(SDL_LIBS) + -lrt -lpthread $(SDL_LIBS) $(FTDI1_LIBS) common-y += $(BOARD) arch/sandbox/os/ |