diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-11-01 09:52:21 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2020-11-01 09:53:15 +0100 |
commit | 67e271537746edd86aa4143a435896315c7a88a3 (patch) | |
tree | 318652ffefc344bc526ca4c141baaff7c69683d0 /configs/platform-v7a/rules/image-sama5d27-som1-ek.make | |
parent | d821369c3c109eb2c12eb1732f71657a8fa81aa7 (diff) | |
download | DistroKit-67e271537746edd86aa4143a435896315c7a88a3.tar.gz DistroKit-67e271537746edd86aa4143a435896315c7a88a3.tar.xz |
v7a: generate image for sama5d27 SOM1 Evaluation Kit
With the previous barebox and kernel changes, we can combine it with the
DistroKit-v7a rootfs to get an image to boot on the sama5d27-som1-ek.
Do this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
[rebased to master]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/rules/image-sama5d27-som1-ek.make')
-rw-r--r-- | configs/platform-v7a/rules/image-sama5d27-som1-ek.make | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/configs/platform-v7a/rules/image-sama5d27-som1-ek.make b/configs/platform-v7a/rules/image-sama5d27-som1-ek.make new file mode 100644 index 0000000..66ac025 --- /dev/null +++ b/configs/platform-v7a/rules/image-sama5d27-som1-ek.make @@ -0,0 +1,36 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Ahmad Fatoum <a.fatoum@pengutronix.de> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +IMAGE_PACKAGES-$(PTXCONF_IMAGE_SAMA5D27_SOM1_EK) += image-sama5d27-som1-ek + +# +# Paths and names +# +IMAGE_SAMA5D27_SOM1_EK := image-sama5d27-som1-ek +IMAGE_SAMA5D27_SOM1_EK_DIR := $(BUILDDIR)/$(IMAGE_SAMA5D27_SOM1_EK) +IMAGE_SAMA5D27_SOM1_EK_IMAGE := $(IMAGEDIR)/sama5d27-som1-ek.hdimg +IMAGE_SAMA5D27_SOM1_EK_FILES := $(IMAGEDIR)/root.tgz +IMAGE_SAMA5D27_SOM1_EK_CONFIG := at91-sd.config + +# ---------------------------------------------------------------------------- +# Image +# ---------------------------------------------------------------------------- + +IMAGE_SAMA5D27_SOM1_EK_ENV := \ + FSBL=barebox-sama5d27-som1-ek-xload-mmc.img \ + SSBL=barebox-sama5d27-som1-ek.img + +$(IMAGE_SAMA5D27_SOM1_EK_IMAGE): + @$(call targetinfo) + @$(call image/genimage, IMAGE_SAMA5D27_SOM1_EK) + @$(call finish) + +# vim: syntax=make |