From c446cb341d2777fab5caf6aa378682482767b4ca Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 1 Jun 2008 21:02:58 +0000 Subject: [PATCH] Fix dependencies when selecting drivers/modules SVN-Revision: 11322 --- utils/lcd4linux/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/utils/lcd4linux/Makefile b/utils/lcd4linux/Makefile index 4c435d36a..cf2b3fdcd 100644 --- a/utils/lcd4linux/Makefile +++ b/utils/lcd4linux/Makefile @@ -122,6 +122,22 @@ LCD4LINUX_CONFIGURE_PLUGINS:= \ $(if $(CONFIG_LCD4LINUX_PLUGIN_$(c)),$(c),) \ ) +ifneq ($(CONFIG_LCD4LINUX_DRV_PNG),) +PKG_BUILD_DEPENDS += libgd +endif + +ifneq ($(CONFIG_LCD4LINUX_DRV_PPM),) +PKG_BUILD_DEPENDS += libgd +endif + +ifneq ($(CONFIG_LCD4LINUX_DRV_st2205),) +PKG_BUILD_DEPENDS += st2205tool +endif + +ifneq ($(CONFIG_LCD4LINUX_PLUGIN_gps),) +PKG_BUILD_DEPENDS += libnmeap +endif + EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib/libiconv/include EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib -- 2.30.2