summaryrefslogtreecommitdiff
path: root/recipes-images/images/lxde-image.bb
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-05-19 17:44:21 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-05-22 10:04:19 +0200
commit0d02e0bd8b423c642cec0e997ceadd89ffb9a0de (patch)
tree72077207ab5097f0ad3f831b2adbe0c5af72a2a5 /recipes-images/images/lxde-image.bb
parent9700c50edb21900c4fdbf84ead8d5c8e0a88733d (diff)
images: simplify prepending a machine name
Define the string used for each machine in the machine configuration rather than doing this in each image recipe. Fallback to machine configuration name if not defined. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images/lxde-image.bb')
-rw-r--r--recipes-images/images/lxde-image.bb11
1 files changed, 2 insertions, 9 deletions
diff --git a/recipes-images/images/lxde-image.bb b/recipes-images/images/lxde-image.bb
index 44121d9..3827566 100644
--- a/recipes-images/images/lxde-image.bb
+++ b/recipes-images/images/lxde-image.bb
@@ -6,15 +6,8 @@ LICENSE = "MIT"
#start of the resulting deployable tarball name
export IMAGE_BASENAME = "LXDE-Image"
-IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}"
-IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}"
-IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}"
-IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}"
-IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}"
-IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}"
-IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}"
-IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}"
-IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}"
+MACHINE_NAME ?= "${MACHINE}"
+IMAGE_NAME = "${MACHINE_NAME}_${IMAGE_BASENAME}"
SYSTEMD_DEFAULT_TARGET = "graphical.target"