diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files')
6 files changed, 70 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-config.cfg b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-config.cfg new file mode 100644 index 0000000000..2ee921bfc4 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-config.cfg | |||
@@ -0,0 +1,4 @@ | |||
1 | CONFIG_FTRACE_SYSCALLS=y | ||
2 | CONFIG_SCHED_TRACER=y | ||
3 | CONFIG_IRQSOFF_TRACER=y | ||
4 | CONFIG_PREEMPT_TRACER=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-patches.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-patches.scc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/user-patches.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc new file mode 100644 index 0000000000..6399a4b535 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-preempt-rt.scc | |||
@@ -0,0 +1,30 @@ | |||
1 | define KMACHINE {{=machine}} | ||
2 | define KTYPE preempt-rt | ||
3 | {{ if qemuarch == "i386": }} | ||
4 | define KARCH i386 | ||
5 | {{ if qemuarch == "x86_64": }} | ||
6 | define KARCH x86_64 | ||
7 | {{ if qemuarch == "arm": }} | ||
8 | define KARCH arm | ||
9 | {{ if qemuarch == "powerpc": }} | ||
10 | define KARCH powerpc | ||
11 | {{ if qemuarch == "mips": }} | ||
12 | define KARCH mips | ||
13 | |||
14 | {{ if qemuarch == "i386": }} | ||
15 | include bsp/common-pc/common-pc-preempt-rt | ||
16 | branch {{=machine}} | ||
17 | {{ if qemuarch == "x86_64": }} | ||
18 | include bsp/common-pc-64/common-pc-64-preempt-rt | ||
19 | branch {{=machine}} | ||
20 | {{ if qemuarch == "arm": }} | ||
21 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-preempt-rt | ||
22 | branch {{=machine}} | ||
23 | {{ if qemuarch == "powerpc": }} | ||
24 | include bsp/qemu-ppc32/qemu-ppc32-rt | ||
25 | branch {{=machine}} | ||
26 | {{ if qemuarch == "mips": }} | ||
27 | include bsp/mti-malta32/mti-malta32-be-preempt-rt | ||
28 | branch {{=machine}} | ||
29 | |||
30 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc new file mode 100644 index 0000000000..9ed66c3ebf --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}-standard.scc | |||
@@ -0,0 +1,30 @@ | |||
1 | define KMACHINE {{=machine}} | ||
2 | define KTYPE standard | ||
3 | {{ if qemuarch == "i386": }} | ||
4 | define KARCH i386 | ||
5 | {{ if qemuarch == "x86_64": }} | ||
6 | define KARCH x86_64 | ||
7 | {{ if qemuarch == "arm": }} | ||
8 | define KARCH arm | ||
9 | {{ if qemuarch == "powerpc": }} | ||
10 | define KARCH powerpc | ||
11 | {{ if qemuarch == "mips": }} | ||
12 | define KARCH mips | ||
13 | |||
14 | {{ if qemuarch == "i386": }} | ||
15 | include bsp/common-pc/common-pc-standard | ||
16 | branch {{=machine}} | ||
17 | {{ if qemuarch == "x86_64": }} | ||
18 | include bsp/common-pc-64/common-pc-64-standard | ||
19 | branch {{=machine}} | ||
20 | {{ if qemuarch == "arm": }} | ||
21 | include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard | ||
22 | branch {{=machine}} | ||
23 | {{ if qemuarch == "powerpc": }} | ||
24 | include bsp/qemu-ppc32/qemu-ppc32-standard | ||
25 | branch {{=machine}} | ||
26 | {{ if qemuarch == "mips": }} | ||
27 | include bsp/mti-malta32/mti-malta32-be-standard | ||
28 | branch {{=machine}} | ||
29 | |||
30 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}.cfg b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}.cfg new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}.cfg | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}.scc new file mode 100644 index 0000000000..e301b22ca2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/{{=machine}}.scc | |||
@@ -0,0 +1,6 @@ | |||
1 | kconf hardware {{=machine}}.cfg | ||
2 | |||
3 | include features/logbuf/size-normal.scc | ||
4 | |||
5 | kconf hardware user-config.cfg | ||
6 | include user-patches.scc | ||