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-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"