Rename and move kernel recipe
Rename linux-obmc to linux-aspeed and move to the Aspeed
layer. Like recipes for u-boot forks, recipes for kernel
forks in support of different SOCs are typically provided
in the BSP supporting the SOC.
Moved a number of phosphor-isms out of the kernel recipe and put
those in a bbappend in aspeed-layer/bbappend.
Removed COMPATIBLE_MACHINE setting. We simply use PREFERRED_PROVIDER
in machine configuration files to set the default kernel recipe.
Tested: Booted spoon/palmetto images using QEMU
Change-Id: I7dc73629cad4789dcd5aeb0f7b6214fe064c6adc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-palmetto/recipes-kernel/linux/linux-obmc/palmetto.cfg b/meta-palmetto/recipes-kernel/linux/linux-aspeed/palmetto.cfg
similarity index 100%
rename from meta-palmetto/recipes-kernel/linux/linux-obmc/palmetto.cfg
rename to meta-palmetto/recipes-kernel/linux/linux-aspeed/palmetto.cfg
diff --git a/meta-palmetto/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-palmetto/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000..6cdb951
--- /dev/null
+++ b/meta-palmetto/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend_palmetto := "${THISDIR}/${PN}:"
+SRC_URI += "file://palmetto.cfg"
diff --git a/meta-palmetto/recipes-kernel/linux/linux-obmc_%.bbappend b/meta-palmetto/recipes-kernel/linux/linux-obmc_%.bbappend
deleted file mode 100644
index a49c239..0000000
--- a/meta-palmetto/recipes-kernel/linux/linux-obmc_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/linux-obmc:"
-SRC_URI += "file://palmetto.cfg"
diff --git a/meta-romulus/recipes-kernel/linux/linux-obmc/romulus.cfg b/meta-romulus/recipes-kernel/linux/linux-aspeed/romulus.cfg
similarity index 100%
rename from meta-romulus/recipes-kernel/linux/linux-obmc/romulus.cfg
rename to meta-romulus/recipes-kernel/linux/linux-aspeed/romulus.cfg
diff --git a/meta-romulus/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-romulus/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000..fd0a149
--- /dev/null
+++ b/meta-romulus/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend_romulus := "${THISDIR}/${PN}:"
+SRC_URI += "file://romulus.cfg"
diff --git a/meta-romulus/recipes-kernel/linux/linux-obmc_%.bbappend b/meta-romulus/recipes-kernel/linux/linux-obmc_%.bbappend
deleted file mode 100644
index 5d48028..0000000
--- a/meta-romulus/recipes-kernel/linux/linux-obmc_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/linux-obmc:"
-SRC_URI += "file://romulus.cfg"
diff --git a/meta-witherspoon/recipes-kernel/linux/linux-obmc/witherspoon.cfg b/meta-witherspoon/recipes-kernel/linux/linux-aspeed/witherspoon.cfg
similarity index 100%
rename from meta-witherspoon/recipes-kernel/linux/linux-obmc/witherspoon.cfg
rename to meta-witherspoon/recipes-kernel/linux/linux-aspeed/witherspoon.cfg
diff --git a/meta-witherspoon/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-witherspoon/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000..cad9140
--- /dev/null
+++ b/meta-witherspoon/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend_witherspoon := "${THISDIR}/${PN}:"
+SRC_URI += "file://witherspoon.cfg"
diff --git a/meta-witherspoon/recipes-kernel/linux/linux-obmc_%.bbappend b/meta-witherspoon/recipes-kernel/linux/linux-obmc_%.bbappend
deleted file mode 100644
index 3d0b856..0000000
--- a/meta-witherspoon/recipes-kernel/linux/linux-obmc_%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/linux-obmc:"
-SRC_URI += "file://witherspoon.cfg"