X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Fbusybox%2FMakefile;h=cc347372643c09f00139c08e2f9e3cd4c1fe35dd;hb=9eafd1cb17da2076804266cfcc8f9f6b54694352;hp=9e30492e9062b51134dcd0eb7df78f5f1c29e2ff;hpb=8afb23270d23db6a033ba8fb77e1cf1a1d925a7c;p=openwrt.git diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 9e30492e90..cc34737264 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -24,17 +24,20 @@ include $(INCLUDE_DIR)/package.mk define Package/busybox SECTION:=base CATEGORY:=Base system - DEFAULT:=y TITLE:=Core utilities for embedded Linux - DESCRIPTION:=\ - The Swiss Army Knife of embedded Linux. \\\ - It slices, it dices, it makes Julian Fries. URL:=http://busybox.net/ MENU:=1 - CONFIG:=\\\ - menu "Configuration" \\\ - depends on PACKAGE_busybox \\\ - source "$(SOURCE)/config/Config.in" \\\ +endef + +define Package/busybox/description +The Swiss Army Knife of embedded Linux. + It slices, it dices, it makes Julian Fries. +endef + +define Package/busybox/config + menu "Configuration" + depends on PACKAGE_busybox + source "$(SOURCE)/config/Config.in" endmenu endef @@ -46,11 +49,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