diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-05-10 23:39:52 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-05-10 23:39:52 +0000 |
commit | 702e8f786a8d48bcfa18724008240161249fe75d (patch) | |
tree | 28f4ddf32fc70609449dcce3e0605d4666f90af7 /packages/linux/linux-openzaurus_2.6.11.bb | |
parent | e7ef0286b96b5f1b88cd0f8cff1d2ce32a6d0db7 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/05/10 23:21:12+01:00 rpsys.net!RP
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into tim.rpsys.net:/usr/oe/openembedded
2005/05/10 23:20:48+01:00 rpsys.net!RP
linux-openzaurus-2.6: enable more modules
2005/05/11 00:09:43+02:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2005/05/11 00:08:44+02:00 uni-frankfurt.de!mickeyl
fix dependency in task-xfce-base. xfce-image builds now. lets see if it works...
2005/05/10 19:13:14+02:00 uni-frankfurt.de!mickeyl
openzaurus-3.5.4.conf: bump cvsdate and add preferred provider for x11
BKrev: 42814648SkcG-hRt59QRBq5XfBL0jQ
Diffstat (limited to 'packages/linux/linux-openzaurus_2.6.11.bb')
-rw-r--r-- | packages/linux/linux-openzaurus_2.6.11.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/linux/linux-openzaurus_2.6.11.bb b/packages/linux/linux-openzaurus_2.6.11.bb index 53f5211019..20ef4f07bc 100644 --- a/packages/linux/linux-openzaurus_2.6.11.bb +++ b/packages/linux/linux-openzaurus_2.6.11.bb @@ -5,7 +5,7 @@ LICENSE = "GPL" #KV = "${@bb.data.getVar('PV',d,True).split('-')[0]}" KV = "${@bb.data.getVar('PV',d,True)}" -PR = "r16" +PR = "r17" DOSRC = "http://www.do13.in-berlin.de/openzaurus" RPSRC = "http://www.rpsys.net/openzaurus/patches" @@ -150,6 +150,17 @@ do_configure() { yes '' | oe_runmake oldconfig } +# Check the kernel is below the 1272*1024 byte limit for the c7x0 +do_compile_append() { + if [ "${MACHINE}" == "c7x0" ]; then + size=`ls arch/${ARCH}/boot/${KERNEL_IMAGETYPE} -s | cut -d ' ' -f 1` + if [ $size -ge 1271 ]; then + rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE} + die "This kernel is too big for the c7x0 and will destroy your machine if you flash it!!!" + fi + fi +} + do_deploy() { install -d ${DEPLOY_DIR}/images install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin |