Makefile (dd4659963a4d2dde9756e31ffe5d7c639bcaa26e) | Makefile (f8f0d06438e5c810d1e13b5f8c2fed501fe36e9c) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# =========================================================================== 3# Kernel configuration targets 4# These targets are used from top-level makefile 5 6ifdef KBUILD_KCONFIG 7Kconfig := $(KBUILD_KCONFIG) 8else --- 88 unchanged lines hidden (view full) --- 97 98%.config: $(obj)/conf 99 $(if $(call configfiles),, $(error No configuration exists for this target on this architecture)) 100 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles) 101 $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig 102 103PHONY += tinyconfig 104tinyconfig: | 1# SPDX-License-Identifier: GPL-2.0 2# =========================================================================== 3# Kernel configuration targets 4# These targets are used from top-level makefile 5 6ifdef KBUILD_KCONFIG 7Kconfig := $(KBUILD_KCONFIG) 8else --- 88 unchanged lines hidden (view full) --- 97 98%.config: $(obj)/conf 99 $(if $(call configfiles),, $(error No configuration exists for this target on this architecture)) 100 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles) 101 $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig 102 103PHONY += tinyconfig 104tinyconfig: |
105 $(Q)$(MAKE) -f $(srctree)/Makefile allnoconfig tiny.config | 105 $(Q)KCONFIG_ALLCONFIG=kernel/configs/tiny-base.config $(MAKE) -f $(srctree)/Makefile allnoconfig 106 $(Q)$(MAKE) -f $(srctree)/Makefile tiny.config |
106 107# CHECK: -o cache_dir=<path> working? 108PHONY += testconfig 109testconfig: $(obj)/conf 110 $(Q)$(PYTHON3) -B -m pytest $(srctree)/$(src)/tests \ 111 -o cache_dir=$(abspath $(obj)/tests/.cache) \ 112 $(if $(findstring 1,$(KBUILD_VERBOSE)),--capture=no) 113clean-files += tests/.cache --- 99 unchanged lines hidden --- | 107 108# CHECK: -o cache_dir=<path> working? 109PHONY += testconfig 110testconfig: $(obj)/conf 111 $(Q)$(PYTHON3) -B -m pytest $(srctree)/$(src)/tests \ 112 -o cache_dir=$(abspath $(obj)/tests/.cache) \ 113 $(if $(findstring 1,$(KBUILD_VERBOSE)),--capture=no) 114clean-files += tests/.cache --- 99 unchanged lines hidden --- |