summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.xpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.xpl b/scripts/Makefile.xpl
index 3e940bf562d..52f014ad332 100644
--- a/scripts/Makefile.xpl
+++ b/scripts/Makefile.xpl
@@ -442,7 +442,8 @@ MKIMAGEFLAGS_sunxi-spl.bin = \
-A $(ARCH) \
-T $(CONFIG_SPL_IMAGE_TYPE) \
-a $(CONFIG_SPL_TEXT_BASE) \
- -n $(CONFIG_DEFAULT_DEVICE_TREE)
+ -n $(CONFIG_DEFAULT_DEVICE_TREE) \
+ $(if $(KEYDIR),-k $(KEYDIR))
OBJCOPYFLAGS_u-boot-spl-dtb.hex := -I binary -O ihex --change-address=$(CONFIG_SPL_TEXT_BASE)