mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-11 09:47:00 +02: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
@ -99,7 +99,9 @@ endif
|
|||||||
%_config: %_defconfig
|
%_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
|
%.config: $(obj)/conf
|
||||||
$(if $(call configfiles),, $(error No configuration exists for this target on this architecture))
|
$(if $(call configfiles),, $(error No configuration exists for this target on this architecture))
|
||||||
|
Loading…
Reference in New Issue
Block a user