[Packages] utils/lcd4linux: Fix compilation
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9677 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
45ee368940
commit
086ba98d78
@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/lcd4linux
|
define Package/lcd4linux
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libncurses
|
DEPENDS:=+libncurses +libusb +libgd
|
||||||
TITLE:=LCD display utility
|
TITLE:=LCD display utility
|
||||||
URL:=http://lcd4linux.bulix.org/
|
URL:=http://lcd4linux.bulix.org/
|
||||||
endef
|
endef
|
||||||
@ -38,13 +38,22 @@ define Package/lcd4linux/conffiles
|
|||||||
/etc/lcd4linux.conf
|
/etc/lcd4linux.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# commas are interpreted by the $(call ...) macro, so define an intermediate variable holding our drivers spec
|
# commas are interpreted by the $(call ...) macro, so define an intermediate variable holding our drivers and plugins spec
|
||||||
PKG_CONFIGURE_DRIVERS:=all,!PNG,!RouterBoard,!X11
|
PKG_CONFIGURE_DRIVERS:=all,!PNG,!RouterBoard,!X11,!serdisplib
|
||||||
|
PKG_CONFIGURE_PLUGINS:=wireless
|
||||||
|
|
||||||
|
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
||||||
|
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
|
||||||
|
|
||||||
|
TARGET_CONFIGURE_OPTS+=\
|
||||||
|
CC="$(TARGET_CC) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)"
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--without-x \
|
--without-x \
|
||||||
|
--without-python \
|
||||||
--with-drivers="$(PKG_CONFIGURE_DRIVERS)" \
|
--with-drivers="$(PKG_CONFIGURE_DRIVERS)" \
|
||||||
--with-plugins=wireless \
|
--with-plugins="$(PKG_CONFIGURE_PLUGINS)" \
|
||||||
|
--disable-rpath \
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default,)
|
$(call Build/Configure/Default,)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user