diff options
author | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-07-18 11:56:25 +1000 |
---|---|---|
committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-07-18 11:56:25 +1000 |
commit | e3f16a1c7f789885bee8edccc4714b3da2a14a87 (patch) | |
tree | 0b883ba041a77e3f924284a87fb9455c949417d4 | |
parent | 46f4c79d6d55b556a90bb0fd89c2c09acf2aebff (diff) | |
download | meta-xilinx-e3f16a1c7f789885bee8edccc4714b3da2a14a87.tar.gz |
linux-yocto-*: change linux-yocto recipe to target boards rather than
architecture, to allow for zedboard and zc702 builds.
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
7 files changed, 36 insertions, 17 deletions
diff --git a/recipes-kernel/linux/linux-yocto/zc702-standard.scc b/recipes-kernel/linux/linux-yocto/zc702-standard.scc new file mode 100644 index 00000000..7701de26 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/zc702-standard.scc | |||
@@ -0,0 +1,7 @@ | |||
1 | define KMACHINE zc702 | ||
2 | define KTYPE standard | ||
3 | define KARCH arm | ||
4 | |||
5 | include ktypes/standard | ||
6 | branch meta | ||
7 | include zynq-standard.scc | ||
diff --git a/recipes-kernel/linux/linux-yocto/zc702-tiny.scc b/recipes-kernel/linux/linux-yocto/zc702-tiny.scc new file mode 100644 index 00000000..c5ab596a --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/zc702-tiny.scc | |||
@@ -0,0 +1,7 @@ | |||
1 | define KMACHINE zc702 | ||
2 | define KTYPE tiny | ||
3 | define KARCH arm | ||
4 | |||
5 | include ktypes/tiny | ||
6 | branch meta | ||
7 | include zynq-tiny.scc | ||
diff --git a/recipes-kernel/linux/linux-yocto/zedboard-standard.scc b/recipes-kernel/linux/linux-yocto/zedboard-standard.scc new file mode 100644 index 00000000..f1c8fd98 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/zedboard-standard.scc | |||
@@ -0,0 +1,11 @@ | |||
1 | define KMACHINE zedboard | ||
2 | define KTYPE standard | ||
3 | define KARCH arm | ||
4 | |||
5 | include ktypes/standard | ||
6 | branch meta | ||
7 | include zynq-standard.scc | ||
8 | ###### | ||
9 | ##### | ||
10 | #### | ||
11 | ############ \ No newline at end of file | ||
diff --git a/recipes-kernel/linux/linux-yocto/zedboard-tiny.scc b/recipes-kernel/linux/linux-yocto/zedboard-tiny.scc new file mode 100644 index 00000000..ff86fd42 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/zedboard-tiny.scc | |||
@@ -0,0 +1,7 @@ | |||
1 | define KMACHINE zedboard | ||
2 | define KTYPE tiny | ||
3 | define KARCH arm | ||
4 | |||
5 | include ktypes/tiny | ||
6 | branch meta | ||
7 | include zynq-tiny.scc | ||
diff --git a/recipes-kernel/linux/linux-yocto/zynq-standard.scc b/recipes-kernel/linux/linux-yocto/zynq-standard.scc index 9f105bc9..50cab2d9 100644 --- a/recipes-kernel/linux/linux-yocto/zynq-standard.scc +++ b/recipes-kernel/linux/linux-yocto/zynq-standard.scc | |||
@@ -1,14 +1,7 @@ | |||
1 | define KMACHINE zedboard | ||
2 | define KTYPE standard | ||
3 | define KARCH arm | ||
4 | 1 | ||
5 | include ktypes/standard | ||
6 | branch meta | ||
7 | kconf hardware cfg/zynq/zynq-arch.cfg | 2 | kconf hardware cfg/zynq/zynq-arch.cfg |
8 | kconf hardware cfg/zynq/zynq-boot.cfg | 3 | kconf hardware cfg/zynq/zynq-boot.cfg |
9 | 4 | ||
10 | |||
11 | |||
12 | # non hardware kconfig configs | 5 | # non hardware kconfig configs |
13 | include cfg/commonclk.scc | 6 | include cfg/commonclk.scc |
14 | 7 | ||
@@ -42,6 +35,7 @@ include cfg/windowsfs.scc | |||
42 | include cfg/procevents.scc | 35 | include cfg/procevents.scc |
43 | include cfg/eeprom.scc | 36 | include cfg/eeprom.scc |
44 | include cfg/zynq/clk.scc | 37 | include cfg/zynq/clk.scc |
38 | include cfg/zynq/cma.scc | ||
45 | include cfg/arm/amba.scc | 39 | include cfg/arm/amba.scc |
46 | 40 | ||
47 | # Scrutinize all below and see if these are tiny or standard or both... | 41 | # Scrutinize all below and see if these are tiny or standard or both... |
@@ -50,6 +44,7 @@ include cfg/arm/amba.scc | |||
50 | include cfg/smp.scc | 44 | include cfg/smp.scc |
51 | include features/mac80211/mac80211.cfg | 45 | include features/mac80211/mac80211.cfg |
52 | include arch/arm/arm.cfg | 46 | include arch/arm/arm.cfg |
47 | include cfg/uio-irq.scc | ||
53 | 48 | ||
54 | # Non-hardware kconf configs | 49 | # Non-hardware kconf configs |
55 | # IPsec: Configuration for IPv4 and IPv6 | 50 | # IPsec: Configuration for IPv4 and IPv6 |
@@ -58,10 +53,9 @@ include cfg/net/ipv6.scc | |||
58 | include cfg/dmaengine.scc | 53 | include cfg/dmaengine.scc |
59 | include cfg/usb-mass-storage.scc | 54 | include cfg/usb-mass-storage.scc |
60 | include cfg/fs/ext2.scc | 55 | include cfg/fs/ext2.scc |
56 | include cfg/fs/flash_fs.scc | ||
61 | 57 | ||
62 | include features/power/zynq.scc | 58 | include features/power/zynq.scc |
63 | 59 | ||
64 | # Optional kconfig configs | 60 | # Optional kconfig configs |
65 | include cfg/tracing.scc | 61 | include cfg/tracing.scc |
66 | |||
67 | ###### \ No newline at end of file | ||
diff --git a/recipes-kernel/linux/linux-yocto/zynq-tiny.scc b/recipes-kernel/linux/linux-yocto/zynq-tiny.scc index 7871591a..41490797 100644 --- a/recipes-kernel/linux/linux-yocto/zynq-tiny.scc +++ b/recipes-kernel/linux/linux-yocto/zynq-tiny.scc | |||
@@ -1,9 +1,3 @@ | |||
1 | define KMACHINE zedboard | ||
2 | define KTYPE tiny | ||
3 | define KARCH arm | ||
4 | |||
5 | include ktypes/tiny | ||
6 | branch meta | ||
7 | 1 | ||
8 | include arch/arm/arm.cfg | 2 | include arch/arm/arm.cfg |
9 | 3 | ||
@@ -44,7 +38,6 @@ include cfg/windowsfs.scc | |||
44 | 38 | ||
45 | include cfg/procevents.scc | 39 | include cfg/procevents.scc |
46 | include cfg/eeprom.scc | 40 | include cfg/eeprom.scc |
47 | #####include cfg/zynq/clk.scc | ||
48 | include cfg/arm/amba.scc | 41 | include cfg/arm/amba.scc |
49 | 42 | ||
50 | # Scrutinize all below and see if these are tiny or standard or both... | 43 | # Scrutinize all below and see if these are tiny or standard or both... |
diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend index e3a5e615..9d509438 100644 --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend | |||
@@ -5,7 +5,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | |||
5 | SRC_URI_append += " \ | 5 | SRC_URI_append += " \ |
6 | file://xilinx-v14.5_modifications_to_v3.8.scc \ | 6 | file://xilinx-v14.5_modifications_to_v3.8.scc \ |
7 | file://microblaze-patches_v3.8.scc \ | 7 | file://microblaze-patches_v3.8.scc \ |
8 | file://${SOC_FAMILY}-standard.scc \ | 8 | file://${KMACHINE}-standard.scc \ |
9 | " | 9 | " |
10 | 10 | ||
11 | SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" | 11 | SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" |