mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
scripts: kconfig: Add config fragment support in board/../
Add support to config fragments (.config) located in the /board directory. This will allow only base defconfigs to live in /configs and all fragments to live in their respective device directory in /board/.. Signed-off-by: Jason Kacines <j-kacines@ti.com>
This commit is contained in:
parent
ccea96f443
commit
06b51f77f5
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ endif
|
|||
%_config: %_defconfig
|
||||
@:
|
||||
|
||||
configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/configs/$@)
|
||||
configfiles=$(wildcard $(srctree)/kernel/configs/$@ \
|
||||
$(srctree)/arch/$(SRCARCH)/configs/$@ \
|
||||
$(shell find $(srctree)/board -name "$@"))
|
||||
|
||||
%.config: $(obj)/conf
|
||||
$(if $(call configfiles),, $(error No configuration exists for this target on this architecture))
|
||||
|
|
Loading…
Add table
Reference in a new issue