diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-simtec.inc | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.bz2 openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.zip |
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-simtec.inc')
-rw-r--r-- | meta/recipes-kernel/linux/linux-simtec.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-simtec.inc b/meta/recipes-kernel/linux/linux-simtec.inc new file mode 100644 index 0000000000..2b7a5cc07d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-simtec.inc @@ -0,0 +1,21 @@ +require linux.inc + +inherit deploy + +do_prepdefconfig() { + cp ${S}/arch/arm/configs/s3c24xx_simtec_defconfig ${WORKDIR}/defconfig + if test -e ${WORKDIR}/${MACHINE}-defconfig-append; then + cat ${WORKDIR}/${MACHINE}-defconfig-append >> ${WORKDIR}/defconfig + fi +} + +addtask prepdefconfig before do_configure after do_patch + +do_deploy() { + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin + cd ${DEPLOYDIR} + ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin + tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib +} + +addtask deploy before do_populate_sysroot after do_install |