On 2017-02-06 1:49 PM, Jan Kiszka wrote:
From: Christian Storm <christian.st...@siemens.com>

While there are intel-quark configurations for the KTYPEs standard and
tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.

This patch qualifies to be (back)ported to other branches than master.

I've merged this to the 4.9 and master kernel-cache branches. I'll
send SRCREV updates for it in my next consolidated pull request.

If they are needed for other releases, i.e. morty, it is an easy
cherry pick.

Bruce


Signed-off-by: Christian Storm <christian.st...@siemens.com>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---

In particular, we would be interested in a 4.4 application as that is
currently in use by meta-iot2000.

 bsp/intel-common/intel-quark-preempt-rt.scc | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 bsp/intel-common/intel-quark-preempt-rt.scc

diff --git a/bsp/intel-common/intel-quark-preempt-rt.scc 
b/bsp/intel-common/intel-quark-preempt-rt.scc
new file mode 100644
index 00000000..8a00fae4
--- /dev/null
+++ b/bsp/intel-common/intel-quark-preempt-rt.scc
@@ -0,0 +1,20 @@
+# intel-quark-preempt-rt.scc
+#
+# preempt-rt ktype for 32 bit Quark / X1000 CPUs
+#
+
+define KMACHINE intel-quark
+define KARCH i386
+define KTYPE preempt-rt
+
+include ktypes/preempt-rt/preempt-rt.scc
+branch intel
+
+# Enable booting from USB for Standard Kernel Image
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+
+include intel-common.scc
+include features/power/intel.scc
+include intel-common-drivers-32.scc
+include intel-quark.scc


--
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to