diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/linux/linux-mx31.inc | 11 | ||||
-rw-r--r-- | meta/packages/linux/linux-omap.inc | 11 | ||||
-rw-r--r-- | meta/packages/linux/linux-simtec.inc | 11 | ||||
-rw-r--r-- | meta/packages/linux/linux-zylonite.inc | 13 | ||||
-rw-r--r-- | meta/packages/uboot/u-boot.inc | 10 | ||||
-rw-r--r-- | meta/packages/x-load/x-load.inc | 14 | ||||
-rw-r--r-- | meta/packages/zaurus-updater/zaurus-updater.bb | 7 |
7 files changed, 31 insertions, 46 deletions
diff --git a/meta/packages/linux/linux-mx31.inc b/meta/packages/linux/linux-mx31.inc index 0f83ac7a4c..520229cf7f 100644 --- a/meta/packages/linux/linux-mx31.inc +++ b/meta/packages/linux/linux-mx31.inc | |||
@@ -4,7 +4,7 @@ LICENSE = "GPL" | |||
4 | 4 | ||
5 | KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" | 5 | KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" |
6 | 6 | ||
7 | inherit kernel | 7 | inherit kernel deploy |
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "mx31litekit|mx31ads|mx31phy" | 9 | COMPATIBLE_MACHINE = "mx31litekit|mx31ads|mx31phy" |
10 | 10 | ||
@@ -29,13 +29,10 @@ do_configure_prepend() { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | do_deploy() { | 31 | do_deploy() { |
32 | install -d ${DEPLOY_DIR_IMAGE} | 32 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin |
33 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | 33 | cd ${DEPLOYDIR} |
34 | cd ${DEPLOY_DIR_IMAGE} | ||
35 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin | 34 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin |
36 | tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib | 35 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib |
37 | } | 36 | } |
38 | 37 | ||
39 | do_deploy[dirs] = "${S}" | ||
40 | |||
41 | addtask deploy before do_populate_sysroot after do_install | 38 | addtask deploy before do_populate_sysroot after do_install |
diff --git a/meta/packages/linux/linux-omap.inc b/meta/packages/linux/linux-omap.inc index 6668deb154..e164bad592 100644 --- a/meta/packages/linux/linux-omap.inc +++ b/meta/packages/linux/linux-omap.inc | |||
@@ -4,7 +4,7 @@ LICENSE = "GPL" | |||
4 | 4 | ||
5 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" | 5 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" |
6 | 6 | ||
7 | inherit kernel | 7 | inherit kernel deploy |
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "omap-zoom" | 9 | COMPATIBLE_MACHINE = "omap-zoom" |
10 | 10 | ||
@@ -29,14 +29,11 @@ do_configure_prepend() { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | do_deploy() { | 31 | do_deploy() { |
32 | install -d ${DEPLOY_DIR_IMAGE} | 32 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin |
33 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | 33 | cd ${DEPLOYDIR} |
34 | cd ${DEPLOY_DIR_IMAGE} | ||
35 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin | 34 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin |
36 | tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib | 35 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib |
37 | } | 36 | } |
38 | 37 | ||
39 | do_deploy[dirs] = "${S}" | ||
40 | |||
41 | addtask deploy before do_populate_sysroot after do_install | 38 | addtask deploy before do_populate_sysroot after do_install |
42 | 39 | ||
diff --git a/meta/packages/linux/linux-simtec.inc b/meta/packages/linux/linux-simtec.inc index b9a65cc26b..2b7a5cc07d 100644 --- a/meta/packages/linux/linux-simtec.inc +++ b/meta/packages/linux/linux-simtec.inc | |||
@@ -1,5 +1,7 @@ | |||
1 | require linux.inc | 1 | require linux.inc |
2 | 2 | ||
3 | inherit deploy | ||
4 | |||
3 | do_prepdefconfig() { | 5 | do_prepdefconfig() { |
4 | cp ${S}/arch/arm/configs/s3c24xx_simtec_defconfig ${WORKDIR}/defconfig | 6 | cp ${S}/arch/arm/configs/s3c24xx_simtec_defconfig ${WORKDIR}/defconfig |
5 | if test -e ${WORKDIR}/${MACHINE}-defconfig-append; then | 7 | if test -e ${WORKDIR}/${MACHINE}-defconfig-append; then |
@@ -10,13 +12,10 @@ do_prepdefconfig() { | |||
10 | addtask prepdefconfig before do_configure after do_patch | 12 | addtask prepdefconfig before do_configure after do_patch |
11 | 13 | ||
12 | do_deploy() { | 14 | do_deploy() { |
13 | install -d ${DEPLOY_DIR_IMAGE} | 15 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin |
14 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | 16 | cd ${DEPLOYDIR} |
15 | cd ${DEPLOY_DIR_IMAGE} | ||
16 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin | 17 | ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin |
17 | tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib | 18 | tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib |
18 | } | 19 | } |
19 | 20 | ||
20 | do_deploy[dirs] = "${S}" | ||
21 | |||
22 | addtask deploy before do_populate_sysroot after do_install | 21 | addtask deploy before do_populate_sysroot after do_install |
diff --git a/meta/packages/linux/linux-zylonite.inc b/meta/packages/linux/linux-zylonite.inc index 81e80622b3..5cf23bf6d1 100644 --- a/meta/packages/linux/linux-zylonite.inc +++ b/meta/packages/linux/linux-zylonite.inc | |||
@@ -5,7 +5,7 @@ LICENSE = "GPL" | |||
5 | KERNEL_IMAGETYPE = "zImage" | 5 | KERNEL_IMAGETYPE = "zImage" |
6 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" | 6 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" |
7 | 7 | ||
8 | inherit kernel | 8 | inherit kernel deploy |
9 | 9 | ||
10 | RPROVIDES_kernel-image = "hostap-modules" | 10 | RPROVIDES_kernel-image = "hostap-modules" |
11 | 11 | ||
@@ -33,13 +33,10 @@ do_configure_prepend() { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | do_deploy() { | 35 | do_deploy() { |
36 | install -d ${DEPLOY_DIR_IMAGE} | 36 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin |
37 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | 37 | rm -f ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${MACHINE}.bin |
38 | rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin | 38 | ln -s ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOYDIR}/${KERNEL_IMAGETYPE}-${MACHINE}.bin |
39 | ln -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin | 39 | #tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib |
40 | #tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib | ||
41 | } | 40 | } |
42 | 41 | ||
43 | do_deploy[dirs] = "${S}" | ||
44 | |||
45 | addtask deploy before do_build after do_install | 42 | addtask deploy before do_build after do_install |
diff --git a/meta/packages/uboot/u-boot.inc b/meta/packages/uboot/u-boot.inc index 3e926a4ea6..889f6215ed 100644 --- a/meta/packages/uboot/u-boot.inc +++ b/meta/packages/uboot/u-boot.inc | |||
@@ -5,6 +5,8 @@ PRIORITY = "optional" | |||
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | PROVIDES = "virtual/bootloader" | 6 | PROVIDES = "virtual/bootloader" |
7 | 7 | ||
8 | inherit deploy | ||
9 | |||
8 | PARALLEL_MAKE="" | 10 | PARALLEL_MAKE="" |
9 | 11 | ||
10 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | 12 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" |
@@ -22,16 +24,12 @@ do_compile () { | |||
22 | } | 24 | } |
23 | 25 | ||
24 | do_deploy () { | 26 | do_deploy () { |
25 | install -d ${DEPLOY_DIR_IMAGE} | 27 | install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE} |
26 | install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} | ||
27 | package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} | ||
28 | 28 | ||
29 | cd ${DEPLOY_DIR_IMAGE} | 29 | cd ${DEPLOYDIR} |
30 | rm -f ${UBOOT_SYMLINK} | 30 | rm -f ${UBOOT_SYMLINK} |
31 | ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} | 31 | ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} |
32 | package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${UBOOT_SYMLINK} | ||
33 | } | 32 | } |
34 | do_deploy[dirs] = "${S}" | ||
35 | addtask deploy before do_build after do_compile | 33 | addtask deploy before do_build after do_compile |
36 | 34 | ||
37 | do_install() { | 35 | do_install() { |
diff --git a/meta/packages/x-load/x-load.inc b/meta/packages/x-load/x-load.inc index 01db413b12..7073b13fe7 100644 --- a/meta/packages/x-load/x-load.inc +++ b/meta/packages/x-load/x-load.inc | |||
@@ -3,6 +3,8 @@ SECTION = "bootloaders" | |||
3 | PRIORITY = "optional" | 3 | PRIORITY = "optional" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | 5 | ||
6 | inherit deploy | ||
7 | |||
6 | DEPENDS = "signgp-native" | 8 | DEPENDS = "signgp-native" |
7 | 9 | ||
8 | PARALLEL_MAKE="" | 10 | PARALLEL_MAKE="" |
@@ -27,20 +29,14 @@ do_compile () { | |||
27 | 29 | ||
28 | do_deploy () { | 30 | do_deploy () { |
29 | signGP ${S}/x-load.bin | 31 | signGP ${S}/x-load.bin |
30 | install -d ${DEPLOY_DIR_IMAGE} | 32 | install ${S}/x-load.bin.ift ${DEPLOYDIR}/${XLOAD_IMAGE} |
31 | install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE} | 33 | install ${S}/x-load.bin.ift ${DEPLOYDIR}/${MLO_IMAGE} |
32 | install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE} | ||
33 | package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE} | ||
34 | package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE} | ||
35 | 34 | ||
36 | cd ${DEPLOY_DIR_IMAGE} | 35 | cd ${DEPLOYDIR} |
37 | rm -f ${XLOAD_SYMLINK} | 36 | rm -f ${XLOAD_SYMLINK} |
38 | ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK} | 37 | ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK} |
39 | rm -f ${MLO_SYMLINK} | 38 | rm -f ${MLO_SYMLINK} |
40 | ln -sf ${MLO_IMAGE} ${MLO_SYMLINK} | 39 | ln -sf ${MLO_IMAGE} ${MLO_SYMLINK} |
41 | package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_SYMLINK} | ||
42 | package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_SYMLINK} | ||
43 | } | 40 | } |
44 | do_deploy[dirs] = "${S}" | ||
45 | addtask deploy before do_build after do_compile | 41 | addtask deploy before do_build after do_compile |
46 | 42 | ||
diff --git a/meta/packages/zaurus-updater/zaurus-updater.bb b/meta/packages/zaurus-updater/zaurus-updater.bb index 4ab6fc43c4..a621761d66 100644 --- a/meta/packages/zaurus-updater/zaurus-updater.bb +++ b/meta/packages/zaurus-updater/zaurus-updater.bb | |||
@@ -11,6 +11,8 @@ SRC_URI = "file://updater.sh \ | |||
11 | file://gnu-tar.gz" | 11 | file://gnu-tar.gz" |
12 | S = "${WORKDIR}" | 12 | S = "${WORKDIR}" |
13 | 13 | ||
14 | inherit deploy | ||
15 | |||
14 | do_configure() { | 16 | do_configure() { |
15 | sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh" | 17 | sed -i "s/ZAURUS_UPDATER_VERSION/${PR}/" "${S}/updater.sh" |
16 | } | 18 | } |
@@ -20,12 +22,11 @@ do_compile() { | |||
20 | } | 22 | } |
21 | 23 | ||
22 | do_deploy() { | 24 | do_deploy() { |
23 | install -d ${DEPLOY_DIR_IMAGE} | 25 | install -m 0755 updater.sh ${DEPLOYDIR}/updater.sh.${MACHINE} |
24 | install -m 0755 updater.sh ${DEPLOY_DIR_IMAGE}/updater.sh.${MACHINE} | ||
25 | 26 | ||
26 | case ${MACHINE} in | 27 | case ${MACHINE} in |
27 | spitz ) | 28 | spitz ) |
28 | install -m 0755 gnu-tar ${DEPLOY_DIR_IMAGE}/gnu-tar | 29 | install -m 0755 gnu-tar ${DEPLOYDIR}/gnu-tar |
29 | ;; | 30 | ;; |
30 | *) | 31 | *) |
31 | ;; | 32 | ;; |