clean up menu configuration

SVN-Revision: 3801
This commit is contained in:
Mike Baker
2006-05-19 22:46:24 +00:00
parent b64d24928b
commit 59c1faa150
5 changed files with 33 additions and 14 deletions

View File

@@ -15,14 +15,18 @@ PKG_CAT:=bzcat
include $(TOPDIR)/package/rules.mk
define Package/busybox
CONFIGFILE:=config/Config.in
SECTION:=base
CATEGORY:=Base system
MENU:=1
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/
CONFIG:=menu "Configuration" \\\
depends on PACKAGE_busybox \\\
source "package/busybox/config/Config.in" \\\
endmenu
endef
define Build/Configure

View File

@@ -116,6 +116,12 @@ define BuildPackage
DUMPINFO += \
echo "@@";
ifneq ($(CONFIG),)
DUMPINFO += \
echo "Config: $(CONFIG)" | sed -e 's,\\,\n,g'; \
echo "@@";
endif
$$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.prepared
mkdir -p $$(IDIR_$(1))/CONTROL
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
@@ -222,7 +228,7 @@ endef
ifneq ($(DUMP),)
dumpinfo: FORCE
$(DUMPINFO)
@$(DUMPINFO)
else
$(PACKAGE_DIR):