aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 9e30492e90..c87701ad1e 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -46,11 +46,21 @@ define Build/Configure
oldconfig
endef
+define Build/Compile
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ CC="$(TARGET_CC)" \
+ CROSS="$(TARGET_CROSS)" \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ IPKG_ARCH="$(ARCH)" \
+ all
+endef
+
define Package/busybox/install
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CROSS="$(TARGET_CROSS)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ IPKG_ARCH="$(ARCH)" \
PREFIX="$(1)" \
install
-rm -rf $(1)/lib64