Created
March 23, 2010 08:11
-
-
Save chihchun/340934 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package/busybox/Makefile b/package/busybox/Makefile | |
index 714d0c4..3c12758 100644 | |
--- a/package/busybox/Makefile | |
+++ b/package/busybox/Makefile | |
@@ -48,6 +48,12 @@ define Package/busybox/config | |
endmenu | |
endef | |
+define Build/Prepare | |
+ $(Build/Prepare/Default) | |
+ $(SED) 's/-Wl,--gc-sections/--gc-sections/' $(PKG_BUILD_DIR)/scripts/trylink | |
+endef | |
+ | |
+ | |
define Build/Configure | |
rm -f $(PKG_BUILD_DIR)/.configured* | |
grep 'CONFIG_BUSYBOX_' $(TOPDIR)/.config | sed -e "s,\\(# \)\\?CONFIG_BUSYBOX_\\(.*\\),\\1\\2,g" > $(PKG_BUILD_DIR)/.config | |
chihchun@openwrt:~/workspace/enh100/senao/openwrt$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment