diff options
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r-- | packages/linux/linux.inc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index e0303c272f..ad7071c405 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -4,20 +4,6 @@ LICENSE = "GPL" inherit kernel -# Add dependency on mkimage for kernels that build a uImage - -python __anonymous () { - - import bb - - kerneltype = bb.data.getVar('KERNEL_IMAGETYPE', d, 1) or '' - if kerneltype == 'uImage': - depends = bb.data.getVar("DEPENDS", d, 1) - depends = "%s u-boot-mkimage-openmoko-native" % depends - bb.data.setVar("DEPENDS", depends, d) -} - - RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" # Specify the commandline for your device @@ -104,17 +90,8 @@ do_configure_append_avr32() { sed -i -e s:-mno-pic::g arch/avr32/Makefile } - -UBOOT_ENTRYPOINT ?= "20008000" -UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" - do_compile_append() { if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then - if test "x${ARCH}" = "xpowerpc" ; then - UBOOT_ARCH=ppc - else - UBOOT_ARCH=$ARCH - fi if test -e arch/${ARCH}/boot/compressed/vmlinux ; then ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin arch/${ARCH}/boot/uImage @@ -131,18 +108,3 @@ do_compile_append() { KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}" KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-${MACHINE}" - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin - tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${PV}-${PR}-${MACHINE}.tgz -C ${D} lib - - cd ${DEPLOY_DIR_IMAGE} - rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.bin - ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}.bin -} - -do_deploy[dirs] = "${S}" - -addtask deploy before do_package after do_install - |