X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fbusybox%2FMakefile;h=0450d897e32a0d7d55bc185b0efde09b7b2e74d6;hb=6e062c4249a23ed2ac78b398b1bf42c9605d221e;hp=2a92d57315132a9fe993ba2e3f84fb575dfc9de4;hpb=7c678312c99937bc5fd444e63bf940d7addf6da6;p=openwrt.git diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 2a92d57315..0450d897e3 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2011 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,26 +8,34 @@ include $(TOPDIR)/rules.mk PKG_NAME:=busybox -PKG_VERSION:=1.19.3 -PKG_RELEASE:=8 +PKG_VERSION:=1.19.4 +PKG_RELEASE:=5 PKG_FLAGS:=essential PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.busybox.net/downloads \ http://distfiles.gentoo.org/distfiles/ -PKG_MD5SUM:=c3938e1ac59602387009bbf1dd1af7f6 +PKG_MD5SUM:=9c0cae5a0379228e7b55e5b29528df8e -PKG_BUILD_DEPENDS:=BUSYBOX_USE_LIBRPC:librpc +PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc PKG_BUILD_PARALLEL:=1 +PKG_LICENSE:=GPLv2 BSD-4c +PKG_LICENSE_FILES:=LICENSE archival/libarchive/bz/LICENSE + include $(INCLUDE_DIR)/package.mk 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 init-$(CONFIG_BUSYBOX_CONFIG_TELNETD) += telnet @@ -37,7 +45,7 @@ define Package/busybox MAINTAINER:=Nicolas Thill TITLE:=Core utilities for embedded Linux URL:=http://busybox.net/ - DEPENDS:=+BUSYBOX_USE_LIBRPC:librpc + DEPENDS:=+BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc MENU:=1 endef @@ -58,6 +66,7 @@ define Build/Configure CROSS_COMPILE="$(TARGET_CROSS)" \ KBUILD_HAVE_NLS=no \ ARCH="$(ARCH)" \ + $(BB_MAKE_VERBOSE) \ oldconfig endef @@ -66,14 +75,14 @@ ifdef CONFIG_GCC_VERSION_LLVM endif LDLIBS:=m crypt -ifdef CONFIG_BUSYBOX_USE_LIBRPC +ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include export LDFLAGS=$(TARGET_LDFLAGS) LDLIBS += 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 +90,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 +101,7 @@ define Build/Compile ARCH="$(ARCH)" \ CONFIG_PREFIX="$(PKG_INSTALL_DIR)" \ LDLIBS="$(LDLIBS)" \ + $(BB_MAKE_VERBOSE) \ install endef