summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-zylonite.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-zylonite.inc
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-zylonite.inc')
-rw-r--r--meta/recipes-kernel/linux/linux-zylonite.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-zylonite.inc b/meta/recipes-kernel/linux/linux-zylonite.inc
new file mode 100644
index 0000000000..5cf23bf6d1
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-zylonite.inc
@@ -0,0 +1,42 @@
1SECTION = "kernel"
2DESCRIPTION = "Linux kernel for Intel PXA3xx Zylonite"
3LICENSE = "GPL"
4
5KERNEL_IMAGETYPE = "zImage"
6KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}"
7
8inherit kernel deploy
9
10RPROVIDES_kernel-image = "hostap-modules"
11
12COMPATIBLE_MACHINE = "zylonite"
13
14RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
15
16do_configure_prepend() {
17
18 rm -f ${S}/.config || true
19
20 if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
21 echo "CONFIG_AEABI=y" >> ${S}/.config
22 echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
23 else
24 echo "# CONFIG_AEABI is not set" >> ${S}/.config
25 echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config
26 fi
27
28 sed -e '/CONFIG_AEABI/d' \
29 -e '/CONFIG_OABI_COMPAT=/d' \
30 '${WORKDIR}/defconfig' >>'${S}/.config'
31
32 yes '' | oe_runmake oldconfig
33}
34
35do_deploy() {
36 install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
37 rm -f ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${MACHINE}.bin
38 ln -s ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${MACHINE}.bin
39 #tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
40}
41
42addtask deploy before do_build after do_install