mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
busybox: support V=c toplevel verboseness flag (#11799)
Signed-off-by: Gregory M. Turner <gmt@malth.us> SVN-Revision: 33035
This commit is contained in:
parent
105c0d3fa4
commit
5d37f15006
@ -26,6 +26,12 @@ ifeq ($(DUMP),)
|
|||||||
STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell $(SH_FUNC) grep '^CONFIG_BUSYBOX_' $(TOPDIR)/.config | md5s)
|
STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell $(SH_FUNC) grep '^CONFIG_BUSYBOX_' $(TOPDIR)/.config | md5s)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
|
||||||
|
BB_MAKE_VERBOSE := V=1
|
||||||
|
else
|
||||||
|
BB_MAKE_VERBOSE :=
|
||||||
|
endif
|
||||||
|
|
||||||
init-y :=
|
init-y :=
|
||||||
init-$(CONFIG_BUSYBOX_CONFIG_HTTPD) += httpd
|
init-$(CONFIG_BUSYBOX_CONFIG_HTTPD) += httpd
|
||||||
init-$(CONFIG_BUSYBOX_CONFIG_CROND) += cron
|
init-$(CONFIG_BUSYBOX_CONFIG_CROND) += cron
|
||||||
@ -58,6 +64,7 @@ define Build/Configure
|
|||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
KBUILD_HAVE_NLS=no \
|
KBUILD_HAVE_NLS=no \
|
||||||
ARCH="$(ARCH)" \
|
ARCH="$(ARCH)" \
|
||||||
|
$(BB_MAKE_VERBOSE) \
|
||||||
oldconfig
|
oldconfig
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -81,6 +88,7 @@ define Build/Compile
|
|||||||
ARCH="$(ARCH)" \
|
ARCH="$(ARCH)" \
|
||||||
SKIP_STRIP=y \
|
SKIP_STRIP=y \
|
||||||
LDLIBS="$(LDLIBS)" \
|
LDLIBS="$(LDLIBS)" \
|
||||||
|
$(BB_MAKE_VERBOSE) \
|
||||||
all
|
all
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
$(FIND) $(PKG_BUILD_DIR) -lname "*busybox" -exec rm \{\} \;
|
$(FIND) $(PKG_BUILD_DIR) -lname "*busybox" -exec rm \{\} \;
|
||||||
@ -91,6 +99,7 @@ define Build/Compile
|
|||||||
ARCH="$(ARCH)" \
|
ARCH="$(ARCH)" \
|
||||||
CONFIG_PREFIX="$(PKG_INSTALL_DIR)" \
|
CONFIG_PREFIX="$(PKG_INSTALL_DIR)" \
|
||||||
LDLIBS="$(LDLIBS)" \
|
LDLIBS="$(LDLIBS)" \
|
||||||
|
$(BB_MAKE_VERBOSE) \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user