summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-bsp/conf/include/agl_hsdk.inc5
-rw-r--r--meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend1
-rw-r--r--meta-agl-distro/conf/distro/include/arc-tune.inc3
-rw-r--r--templates/machine/hsdk/40_bblayers.conf.inc2
-rw-r--r--templates/machine/hsdk/50_local.conf.inc2
5 files changed, 13 insertions, 0 deletions
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..5967f2375
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_hsdk.inc
@@ -0,0 +1,5 @@
+KERNEL_IMAGETYPE = "uImage"
+WKS_FILE = "sdimage-hsdk.wks"
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz"
+IMAGE_BOOT_FILES = "uImage uboot.env"
+IMAGE_INSTALL_append = " kernel-modules"
diff --git a/meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend
new file mode 100644
index 000000000..88ac94b15
--- /dev/null
+++ b/meta-agl-bsp/meta-synopsys/recipes-kernel/linux/linux-arc_%.bbappend
@@ -0,0 +1 @@
+require recipes-kernel/linux/linux-agl.inc
diff --git a/meta-agl-distro/conf/distro/include/arc-tune.inc b/meta-agl-distro/conf/distro/include/arc-tune.inc
new file mode 100644
index 000000000..43dabd5a9
--- /dev/null
+++ b/meta-agl-distro/conf/distro/include/arc-tune.inc
@@ -0,0 +1,3 @@
+# DEFAULTTUNE overrides for AGL on arc
+
+# DEFAULTTUNE ?= "archs"
diff --git a/templates/machine/hsdk/40_bblayers.conf.inc b/templates/machine/hsdk/40_bblayers.conf.inc
new file mode 100644
index 000000000..8c02e8f61
--- /dev/null
+++ b/templates/machine/hsdk/40_bblayers.conf.inc
@@ -0,0 +1,2 @@
+# Use meta-synopsys layer for ARC HSDK board
+BBLAYERS =+ "${METADIR}/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