X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=scripts%2FKbuild.include;h=2c7918ad37219b5d2b7e08d64c420283c91b9dfe;hb=de163ecedb8a54dc72d5c6cadbfd1a85befce6ce;hp=1b62aedb00877bb375bf265c4cd5d3c984342553;hpb=4b83f0d98a17aef896a9d772275bd09a4dfab07c;p=u-boot diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 1b62aedb00..2c7918ad37 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -172,11 +172,6 @@ ld-version = $(shell $(LD) --version | $(srctree)/scripts/ld-version.sh) # Usage: $(call ld-ifversion, -ge, 22252, y) ld-ifversion = $(shell [ $(ld-version) $(1) $(2) ] && echo $(3) || echo $(4)) -# dtc-option -# Usage: DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg) -dtc-option = $(call try-run,\ - echo '/dts-v1/; / {};' | $(DTC) $(1),$(1),$(2)) - ###### ### @@ -321,6 +316,12 @@ endif ifdef CONFIG_SPL_BUILD SPL_ := SPL_ +ifeq ($(CONFIG_TPL_BUILD),y) +SPL_TPL_ := TPL_ +else +SPL_TPL_ := SPL_ +endif else SPL_ := +SPL_TPL_ := endif