diff options
| author | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-05-03 12:16:13 +1000 |
|---|---|---|
| committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-05-03 12:16:13 +1000 |
| commit | 58fb81a47c1af743da7ed9c8349142198d137eb6 (patch) | |
| tree | dd600ce6b55cab1fafe2c5b3c9f3f806dedfb804 | |
| parent | a2c9390608141347505080820af55f2429a63e7e (diff) | |
| download | meta-xilinx-58fb81a47c1af743da7ed9c8349142198d137eb6.tar.gz | |
Consolidate zynq fragments and move inclusion into board layers.
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
| -rw-r--r-- | meta-zc702/recipes-kernel/linux/linux-xlnx.inc | 8 | ||||
| -rw-r--r-- | meta-zedboard/recipes-kernel/linux/linux-xlnx.inc | 5 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-xlnx.inc | 3 |
3 files changed, 13 insertions, 3 deletions
diff --git a/meta-zc702/recipes-kernel/linux/linux-xlnx.inc b/meta-zc702/recipes-kernel/linux/linux-xlnx.inc index f2675c8d..b90b846c 100644 --- a/meta-zc702/recipes-kernel/linux/linux-xlnx.inc +++ b/meta-zc702/recipes-kernel/linux/linux-xlnx.inc | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | # linux-xlnx specific modifications for zc702 | 1 | # linux-xlnx specific modifications for zc702 |
| 2 | 2 | ||
| 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | ||
| 4 | |||
| 5 | # Config fragments are either under | ||
| 6 | # meta-xilinx/kernel-recipes for common fragments, or | ||
| 7 | # meta-xilinx/meta-<boardlayer>/kernel-recipes for board specific fragments | ||
| 8 | SRC_URI += "file://xilinx_zynq_defconfig.cfg" | ||
| 9 | SRC_URI_append_zedboard += "file://rtc.cfg" | ||
| 10 | |||
| 3 | KERNEL_DEVICETREE_zc702 = "${S}/arch/arm/boot/dts/zynq-zc702.dts" | 11 | KERNEL_DEVICETREE_zc702 = "${S}/arch/arm/boot/dts/zynq-zc702.dts" |
| 4 | 12 | ||
| 5 | COMPATIBLE_MACHINE_zc702 = "zc702" | 13 | COMPATIBLE_MACHINE_zc702 = "zc702" |
diff --git a/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc b/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc index 1d0dbc76..e5eefbe2 100644 --- a/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc +++ b/meta-zedboard/recipes-kernel/linux/linux-xlnx.inc | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | # linux-xlnx specific modifications for zedboard | 1 | # linux-xlnx specific modifications for zedboard |
| 2 | 2 | ||
| 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" |
| 4 | |||
| 5 | # Config fragments are either under | ||
| 6 | # meta-xilinx/kernel-recipes for common fragments, or | ||
| 7 | # meta-xilinx/meta-<boardlayer>/kernel-recipes for board specific fragments | ||
| 8 | SRC_URI += "file://xilinx_zynq_defconfig.cfg" | ||
| 4 | SRC_URI_append_zedboard += "file://nortc.cfg" | 9 | SRC_URI_append_zedboard += "file://nortc.cfg" |
| 5 | 10 | ||
| 6 | KERNEL_DEVICETREE_zedboard = "${S}/arch/arm/boot/dts/zynq-zed.dts" | 11 | KERNEL_DEVICETREE_zedboard = "${S}/arch/arm/boot/dts/zynq-zed.dts" |
diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-xlnx.inc index 32adcc7f..7b2319be 100644 --- a/recipes-kernel/linux/linux-xlnx.inc +++ b/recipes-kernel/linux/linux-xlnx.inc | |||
| @@ -39,9 +39,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | |||
| 39 | # tree if you do not want to build from Linus' tree. | 39 | # tree if you do not want to build from Linus' tree. |
| 40 | SRC_URI = "git://github.com/Xilinx/linux-xlnx;protocol=git;nocheckout=1" | 40 | SRC_URI = "git://github.com/Xilinx/linux-xlnx;protocol=git;nocheckout=1" |
| 41 | 41 | ||
| 42 | # Consolidate defconfig and use fragments? | ||
| 43 | SRC_URI += "file://xilinx_zynq_defconfig.cfg" | ||
| 44 | |||
| 45 | PR = "r1" | 42 | PR = "r1" |
| 46 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" | 43 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" |
| 47 | 44 | ||
