diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 6 | ||||
-rw-r--r-- | scripts/Makefile.spl | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 1b62aed..a3a5c59 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -321,6 +321,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 diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 5370648..4485ea8 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -37,8 +37,14 @@ 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 include $(srctree)/config.mk |