X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Fbusybox%2FMakefile;h=177a42ff33fd62f90d35ba6c7b20141c36bd856d;hp=ef7f51877b68ec87cc68d46ac8f222345b70e4d1;hb=6945d722e682c0a1e5986f8844ad4428c7f97aea;hpb=6a11725d42b2e153bd948ffeb7a4d9cf65b7e8b7 diff --git a/package/busybox/Makefile b/package/busybox/Makefile index ef7f51877b..177a42ff33 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=busybox PKG_VERSION:=1.19.4 -PKG_RELEASE:=2 +PKG_RELEASE:=5 PKG_FLAGS:=essential PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -26,6 +26,12 @@ ifeq ($(DUMP),) STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell $(SH_FUNC) grep '^CONFIG_BUSYBOX_' $(TOPDIR)/.config | md5s) endif +ifneq ($(findstring c,$(OPENWRT_VERBOSE)),) + BB_MAKE_VERBOSE := V=1 +else + BB_MAKE_VERBOSE := +endif + init-y := init-$(CONFIG_BUSYBOX_CONFIG_HTTPD) += httpd init-$(CONFIG_BUSYBOX_CONFIG_CROND) += cron @@ -58,6 +64,7 @@ define Build/Configure CROSS_COMPILE="$(TARGET_CROSS)" \ KBUILD_HAVE_NLS=no \ ARCH="$(ARCH)" \ + $(BB_MAKE_VERBOSE) \ oldconfig endef @@ -73,7 +80,7 @@ ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC endif define Build/Compile - $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ + +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ KBUILD_HAVE_NLS=no \ @@ -81,6 +88,7 @@ define Build/Compile ARCH="$(ARCH)" \ SKIP_STRIP=y \ LDLIBS="$(LDLIBS)" \ + $(BB_MAKE_VERBOSE) \ all rm -rf $(PKG_INSTALL_DIR) $(FIND) $(PKG_BUILD_DIR) -lname "*busybox" -exec rm \{\} \; @@ -91,6 +99,7 @@ define Build/Compile ARCH="$(ARCH)" \ CONFIG_PREFIX="$(PKG_INSTALL_DIR)" \ LDLIBS="$(LDLIBS)" \ + $(BB_MAKE_VERBOSE) \ install endef