diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-03-23 14:32:14 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-03-23 14:32:14 +0000 |
commit | 7ef5b5144d3b748a42be00a7068551541323e43f (patch) | |
tree | 2e2b3d1602e7f2b6a6433b990c35a0eab99e8eb2 /package/linux-atm/Makefile | |
parent | c151e480f86402dccfc236c6096d10b8c5539d77 (diff) | |
download | upstream-7ef5b5144d3b748a42be00a7068551541323e43f.tar.gz upstream-7ef5b5144d3b748a42be00a7068551541323e43f.tar.bz2 upstream-7ef5b5144d3b748a42be00a7068551541323e43f.zip |
[package] linux-atm: fix compilation of 'qgen' host tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20387 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux-atm/Makefile')
-rw-r--r-- | package/linux-atm/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index 8fd081b70f..38e903406e 100644 --- a/package/linux-atm/Makefile +++ b/package/linux-atm/Makefile @@ -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 |