summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-03-05 20:28:52 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-03-05 20:28:52 +0000
commit52564dc5e38d7eac33b6dd68b84cb0f7d7af955d (patch)
treecf47d4f6c6d418ca3f818b984c52c3029bcf568e /package/Makefile
parentdca90efc232e989f7715326a3fc4b7bde575045a (diff)
downloadmtk-20170518-52564dc5e38d7eac33b6dd68b84cb0f7d7af955d.zip
mtk-20170518-52564dc5e38d7eac33b6dd68b84cb0f7d7af955d.tar.gz
mtk-20170518-52564dc5e38d7eac33b6dd68b84cb0f7d7af955d.tar.bz2
this patch fixes package/Makefile.
-Raphael SVN-Revision: 20000
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/Makefile b/package/Makefile
index 5734f98..5468bdc 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2008 OpenWrt.org
+# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -23,6 +23,7 @@ endif
$(curdir)/install:=$(curdir)/install-cleanup
$(curdir)/cleanup: $(TMP_DIR)/.build
+ - find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755
rm -rf $(TARGET_DIR) $(STAGING_DIR_ROOT)
ifdef CONFIG_USE_MKLIBS
@@ -42,8 +43,9 @@ ifdef CONFIG_USE_MKLIBS
--sysroot $(STAGING_DIR_ROOT) \
-L /lib \
-L /usr/lib \
+ -L /usr/lib/ebtables \
--ldlib $(patsubst $(STAGING_DIR_ROOT)/%,/%,$(firstword $(wildcard \
- $(foreach name,ld-uClibc.so.* ld-linux.so.*, \
+ $(foreach name,ld-uClibc.so.* ld-linux.so.* ld-*.so, \
$(STAGING_DIR_ROOT)/lib/$(name) \
)))) \
--target $(REAL_GNU_TARGET_NAME) \