From e5310229bf79f12d34e3d3595f9880261d02648c Mon Sep 17 00:00:00 2001 From: Evgeniy Didin Date: Wed, 15 Jul 2020 22:43:20 +0300 Subject: Synopsys,HSDK: Return files for HSDK board Lets return HSDK board support as the meta-synopsys layer now is compatible to yocto dunfell. Signed-off-by: Evgeniy Didin Change-Id: I3f11b9f8f5790d2513635beb05ec8e7584ebccc4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25024 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-agl-bsp/conf/include/agl_hsdk.inc | 4 ++++ meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend | 1 + templates/machine/hsdk/40_bblayers.conf.inc | 2 ++ templates/machine/hsdk/50_local.conf.inc | 2 ++ templates/machine/hsdk/README_machine_hsdk.md | 9 +++++++++ 5 files changed, 18 insertions(+) create mode 100644 meta-agl-bsp/conf/include/agl_hsdk.inc create mode 100644 meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend create mode 100644 templates/machine/hsdk/40_bblayers.conf.inc create mode 100644 templates/machine/hsdk/50_local.conf.inc create mode 100644 templates/machine/hsdk/README_machine_hsdk.md diff --git a/meta-agl-bsp/conf/include/agl_hsdk.inc b/meta-agl-bsp/conf/include/agl_hsdk.inc new file mode 100644 index 000000000..075cea53e --- /dev/null +++ b/meta-agl-bsp/conf/include/agl_hsdk.inc @@ -0,0 +1,4 @@ +KERNEL_IMAGETYPE = "uImage" +WKS_FILE = "sdimage-hsdk.wks" +IMAGE_BOOT_FILES = "uImage uboot.env" +IMAGE_INSTALL_append = " kernel-modules" diff --git a/meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend new file mode 100644 index 000000000..88ac94b15 --- /dev/null +++ b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux-yocto_%.bbappend @@ -0,0 +1 @@ +require recipes-kernel/linux/linux-agl.inc diff --git a/templates/machine/hsdk/40_bblayers.conf.inc b/templates/machine/hsdk/40_bblayers.conf.inc new file mode 100644 index 000000000..e3954fef3 --- /dev/null +++ b/templates/machine/hsdk/40_bblayers.conf.inc @@ -0,0 +1,2 @@ +# Use meta-synopsys layer for ARC HSDK board +BBLAYERS =+ "${METADIR}/bsp/meta-synopsys" diff --git a/templates/machine/hsdk/50_local.conf.inc b/templates/machine/hsdk/50_local.conf.inc new file mode 100644 index 000000000..61f77435e --- /dev/null +++ b/templates/machine/hsdk/50_local.conf.inc @@ -0,0 +1,2 @@ +MACHINE = "hsdk" +require conf/include/agl_hsdk.inc diff --git a/templates/machine/hsdk/README_machine_hsdk.md b/templates/machine/hsdk/README_machine_hsdk.md new file mode 100644 index 000000000..30e56d13b --- /dev/null +++ b/templates/machine/hsdk/README_machine_hsdk.md @@ -0,0 +1,9 @@ +--- +description: Machine hsdk +authors: Evgeniy Didin , Jan-Simon Möller +--- + +### Machine hsdk + +*Description is missing - please complete file meta-agl/templates/machine/hsdk/README_machine_hsdk.md* + -- cgit 1.2.3-korg