mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Makefile: remove outdated .config.cmd handling
Not used anymore, and forcefully removes config if *config is aborted. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3ac0c241d5
commit
610255e7e4
23
Makefile
23
Makefile
@ -75,7 +75,6 @@ EXTRAMAKEARGS = O=$(O)
|
|||||||
NEED_WRAPPER=y
|
NEED_WRAPPER=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
|
||||||
# Pull in the user's configuration file
|
# Pull in the user's configuration file
|
||||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||||
-include $(CONFIG_DIR)/.config
|
-include $(CONFIG_DIR)/.config
|
||||||
@ -289,9 +288,6 @@ include package/Makefile.in
|
|||||||
|
|
||||||
all: world
|
all: world
|
||||||
|
|
||||||
# In this section, we need .config
|
|
||||||
-include $(CONFIG_DIR)/.config.cmd
|
|
||||||
|
|
||||||
# We also need the various per-package makefiles, which also add
|
# We also need the various per-package makefiles, which also add
|
||||||
# each selected package to TARGETS if that package was selected
|
# each selected package to TARGETS if that package was selected
|
||||||
# in the .config file.
|
# in the .config file.
|
||||||
@ -489,28 +485,19 @@ COMMON_CONFIG_ENV = \
|
|||||||
|
|
||||||
xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile
|
xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@if ! $(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN); then \
|
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
gconfig: $(BUILD_DIR)/buildroot-config/gconf outputmakefile
|
gconfig: $(BUILD_DIR)/buildroot-config/gconf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@if ! $(COMMON_CONFIG_ENV) srctree=$(TOPDIR) \
|
@$(COMMON_CONFIG_ENV) srctree=$(TOPDIR) $< $(CONFIG_CONFIG_IN)
|
||||||
$< $(CONFIG_CONFIG_IN); then \
|
|
||||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
menuconfig: $(BUILD_DIR)/buildroot-config/mconf outputmakefile
|
menuconfig: $(BUILD_DIR)/buildroot-config/mconf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@if ! $(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN); then \
|
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
nconfig: $(BUILD_DIR)/buildroot-config/nconf outputmakefile
|
nconfig: $(BUILD_DIR)/buildroot-config/nconf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@if ! $(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN); then \
|
@$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN)
|
||||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
config: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
config: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
@ -603,7 +590,7 @@ endif
|
|||||||
ifeq ($(O),output)
|
ifeq ($(O),output)
|
||||||
rm -rf $(O)
|
rm -rf $(O)
|
||||||
endif
|
endif
|
||||||
rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.config.cmd $(CONFIG_DIR)/.auto.deps
|
rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
|
||||||
|
|
||||||
flush:
|
flush:
|
||||||
rm -f $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
|
rm -f $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user