build: Fix missing device variables for artifacts
authorPetr Štetiar <ynezz@true.cz>
Fri, 18 Jan 2019 08:25:59 +0000 (09:25 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Tue, 5 Feb 2019 18:37:30 +0000 (19:37 +0100)
commitbb23cb1bf2a32d1441720ae50bc354b8811b4bc7
treece359868826919af8a9a33707427e3085c71bc00
parentbe2b61e4f1ec1e351733bebb7105629599034639
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
environment.

Fixes: 493c9a35516c ("build: Introduce building of artifacts")
Tested-by: Oskari Lemmela <oskari@lemmela.net>
Reported-by: Oskari Lemmela <oskari@lemmela.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
include/image.mk