1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 05:11:46 +02:00

[package] linux-atm: fix compilation of 'qgen' host tool

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20387 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-03-23 14:32:14 +00:00
parent 86e3738d75
commit 003ff49add

View File

@ -40,11 +40,6 @@ define Package/atm-tools/description
This package contains the Linux ATM tools.
endef
define Build/Prepare
$(call Build/Prepare/Default)
$(INSTALL_BIN) $(SCRIPT_DIR)/config.sub $(SCRIPT_DIR)/config.guess $(PKG_BUILD_DIR)/
endef
define Build/Configure
$(call Build/Configure/Default)
# prevent autoheader invocation
@ -52,6 +47,10 @@ define Build/Configure
endef
define Build/Compile
# src/qgen is built with HOSTCC, which does not really like our LDFLAGS
$(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
LDFLAGS="" \
all
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install