mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
{rand,allyes}packageconfig: ensure legacy test options don't get enabled
The legacy BR2_PACKAGE_* options in Config.in.legacy are not supposed to
be user selectable, so {rand,allyes}packageconfig shouldn't enable them.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
6
Makefile
6
Makefile
@@ -619,6 +619,9 @@ allnoconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
|||||||
randpackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
randpackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
||||||
|
@grep '^config BR2_PACKAGE_' Config.in.legacy | \
|
||||||
|
while read config pkg; do \
|
||||||
|
echo "# $$pkg is not set" >> $(CONFIG_DIR)/.config.nopkg; done
|
||||||
@$(COMMON_CONFIG_ENV) \
|
@$(COMMON_CONFIG_ENV) \
|
||||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||||
$< --randconfig $(CONFIG_CONFIG_IN)
|
$< --randconfig $(CONFIG_CONFIG_IN)
|
||||||
@@ -627,6 +630,9 @@ randpackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
|||||||
allyespackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
allyespackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
||||||
|
@grep '^config BR2_PACKAGE_' Config.in.legacy | \
|
||||||
|
while read config pkg; do \
|
||||||
|
echo "# $$pkg is not set" >> $(CONFIG_DIR)/.config.nopkg; done
|
||||||
@$(COMMON_CONFIG_ENV) \
|
@$(COMMON_CONFIG_ENV) \
|
||||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||||
$< --allyesconfig $(CONFIG_CONFIG_IN)
|
$< --allyesconfig $(CONFIG_CONFIG_IN)
|
||||||
|
|||||||
Reference in New Issue
Block a user