diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2012-01-24 00:15:25 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 19:21:14 +0000 |
commit | f76161b1de427403d0288dc7772907389b56a031 (patch) | |
tree | bef2e2d2063c47d64aea7872569b93736cb47d94 /scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files | |
parent | af193ae15a2ad2e170d4a9d4bcbfff3e429784f5 (diff) | |
download | poky-f76161b1de427403d0288dc7772907389b56a031.tar.gz |
yocto-bsp: add BSP template files
BSP template files for all supported Yocto architectures, plus qemu
versions of the same.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
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 | ||