summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSipke Vriend <sipke.vriend@xilinx.com>2013-07-18 11:56:25 +1000
committerSipke Vriend <sipke.vriend@xilinx.com>2013-07-18 11:56:25 +1000
commite3f16a1c7f789885bee8edccc4714b3da2a14a87 (patch)
tree0b883ba041a77e3f924284a87fb9455c949417d4
parent46f4c79d6d55b556a90bb0fd89c2c09acf2aebff (diff)
downloadmeta-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>
-rw-r--r--recipes-kernel/linux/linux-yocto/zc702-standard.scc7
-rw-r--r--recipes-kernel/linux/linux-yocto/zc702-tiny.scc7
-rw-r--r--recipes-kernel/linux/linux-yocto/zedboard-standard.scc11
-rw-r--r--recipes-kernel/linux/linux-yocto/zedboard-tiny.scc7
-rw-r--r--recipes-kernel/linux/linux-yocto/zynq-standard.scc12
-rw-r--r--recipes-kernel/linux/linux-yocto/zynq-tiny.scc7
-rw-r--r--recipes-kernel/linux/linux-yocto_3.8.bbappend2
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 @@
1define KMACHINE zc702
2define KTYPE standard
3define KARCH arm
4
5include ktypes/standard
6branch meta
7include 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 @@
1define KMACHINE zc702
2define KTYPE tiny
3define KARCH arm
4
5include ktypes/tiny
6branch meta
7include 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 @@
1define KMACHINE zedboard
2define KTYPE standard
3define KARCH arm
4
5include ktypes/standard
6branch meta
7include 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 @@
1define KMACHINE zedboard
2define KTYPE tiny
3define KARCH arm
4
5include ktypes/tiny
6branch meta
7include 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 @@
1define KMACHINE zedboard
2define KTYPE standard
3define KARCH arm
4 1
5include ktypes/standard
6branch meta
7kconf hardware cfg/zynq/zynq-arch.cfg 2kconf hardware cfg/zynq/zynq-arch.cfg
8kconf hardware cfg/zynq/zynq-boot.cfg 3kconf hardware cfg/zynq/zynq-boot.cfg
9 4
10
11
12# non hardware kconfig configs 5# non hardware kconfig configs
13include cfg/commonclk.scc 6include cfg/commonclk.scc
14 7
@@ -42,6 +35,7 @@ include cfg/windowsfs.scc
42include cfg/procevents.scc 35include cfg/procevents.scc
43include cfg/eeprom.scc 36include cfg/eeprom.scc
44include cfg/zynq/clk.scc 37include cfg/zynq/clk.scc
38include cfg/zynq/cma.scc
45include cfg/arm/amba.scc 39include 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
50include cfg/smp.scc 44include cfg/smp.scc
51include features/mac80211/mac80211.cfg 45include features/mac80211/mac80211.cfg
52include arch/arm/arm.cfg 46include arch/arm/arm.cfg
47include 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
58include cfg/dmaengine.scc 53include cfg/dmaengine.scc
59include cfg/usb-mass-storage.scc 54include cfg/usb-mass-storage.scc
60include cfg/fs/ext2.scc 55include cfg/fs/ext2.scc
56include cfg/fs/flash_fs.scc
61 57
62include features/power/zynq.scc 58include features/power/zynq.scc
63 59
64# Optional kconfig configs 60# Optional kconfig configs
65include cfg/tracing.scc 61include 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 @@
1define KMACHINE zedboard
2define KTYPE tiny
3define KARCH arm
4
5include ktypes/tiny
6branch meta
7 1
8include arch/arm/arm.cfg 2include arch/arm/arm.cfg
9 3
@@ -44,7 +38,6 @@ include cfg/windowsfs.scc
44 38
45include cfg/procevents.scc 39include cfg/procevents.scc
46include cfg/eeprom.scc 40include cfg/eeprom.scc
47#####include cfg/zynq/clk.scc
48include cfg/arm/amba.scc 41include 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:"
5SRC_URI_append += " \ 5SRC_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
11SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" 11SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/"