Skip to content
Browse files

build: Fix missing device variables for artifacts

It was reported to me today on IRC, that building of artifacts doesn't
work properly if the concat_cmd references DEVICE_NAME variable. I've
found out, that it's due to missing call of Device/Export in artifacts
building code path, so this patch adds the missing Device/Export call
which in turn exports DEFAULT_DEVICE_VARS into the artifacts

Fixes: 493c9a3 ("build: Introduce building of artifacts")
Tested-by: Oskari Lemmela <>
Reported-by: Oskari Lemmela <>
Signed-off-by: Petr Štetiar <>
  • Loading branch information...
ynezz authored and chunkeey committed Jan 18, 2019
1 parent be2b61e commit bb23cb1bf2a32d1441720ae50bc354b8811b4bc7
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/
@@ -527,6 +527,7 @@ endef

define Device/Build/artifact
$(eval $(call Device/Export,$(KDIR)/tmp/$(IMAGE_PREFIX)-$(1)))
@rm -f $$@
$$(call concat_cmd,$(ARTIFACT/$(1)))

0 comments on commit bb23cb1

Please sign in to comment.
You can’t perform that action at this time.