Lines Matching defs:config

276 KCONFIG_CONFIG	?= .config
459 # Read UBOOTRELEASE from include/config/uboot.release (if it exists)
460 UBOOTRELEASE = $(shell cat include/config/uboot.release 2> /dev/null)
498 # Rules shared between *config targets and build targets
519 # To make sure we do not include .config for any of the *config targets
522 # mixing *config targets and build targets.
525 # of make so .config is not included in this case either (for *config).
533 no-dot-config-targets := clean clobber mrproper distclean \
538 config-targets := 0
540 dot-config := 1
542 ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
543 ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
544 dot-config := 0
549 ifneq ($(filter config %config,$(MAKECMDGOALS)),)
550 config-targets := 1
559 # We're called with mixed targets (*config and build targets).
574 ifeq ($(config-targets),1)
576 # *config targets only - make sure prerequisites are updated, and descend
577 # in scripts/kconfig to make the *config target
582 config: scripts_basic outputmakefile FORCE
585 %config: scripts_basic outputmakefile FORCE
591 # targets and others. In general all targets except *config targets.
597 scripts: scripts_basic scripts_dtc include/config/auto.conf
600 ifeq ($(dot-config),1)
601 # Read in config
602 -include include/config/auto.conf
606 -include include/config/auto.conf.cmd
609 $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ;
611 # If .config is newer than include/config/auto.conf, someone tinkered
614 # we execute the config step to be sure to catch updated Kconfig files
615 include/config/%.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd
617 @# If the following part fails, include/config/auto.conf should be
620 { rm -f include/config/auto.conf; false; }
621 @# include/config.h has been updated after "make silentoldconfig".
622 @# We need to touch include/config/auto.conf so it gets newer
623 @# than include/config.h.
625 $(Q)touch include/config/auto.conf
633 # We want to include arch/$(ARCH)/config.mk only when include/config/auto.conf
635 # macros are still remaining in include/config/auto.conf. Without the following
636 # gimmick, wrong config.mk would be included leading nasty warnings/errors.
638 ifneq ($(wildcard include/config/auto.conf),)
640 include/config/auto.conf)
642 include config.mk
648 # These are set by the arch-specific config.mk. Make sure they are exported
691 include/config/auto.conf: ;
692 endif # $(dot-config)
973 # Always append INPUTS so that arch config.mk's can add custom ones
1133 $(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
1764 # May be overridden by arch/$(ARCH)/config.mk
1843 -include linux/kconfig.h -include include/config.h \
1905 # Store (new) UBOOTRELEASE string in include/config/uboot.release
1906 include/config/uboot.release: include/config/auto.conf FORCE
1922 prepare3: include/config/uboot.release
1925 $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
1936 include/config/auto.conf
2013 $(version_h): include/config/uboot.release FORCE
2195 include/config.h include/generated/env.* drivers/video/u_boot_logo.S \
2207 MRPROPER_DIRS += include/config include/generated spl tpl vpl \
2211 MRPROPER_FILES += .config .config.old include/autoconf.mk* include/config.h \
2247 # mrproper - Delete all generated files, including .config
2344 @echo ' clean - Remove most generated files but keep the config'
2345 @echo ' mrproper - Remove all generated files + config + various backup files'
2389 @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
2519 endif #ifeq ($(config-targets),1)