Merge bk://oe-devel.bkbits.net/openembedded
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Fri, 7 Jan 2005 16:40:07 +0000 (16:40 +0000)
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Fri, 7 Jan 2005 16:40:07 +0000 (16:40 +0000)
into bkbits.net:/repos/n/nslu2-linux/openembedded

2005/01/07 17:35:51+01:00 (none)!koen
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into lieve.(none):/data/build/oe/clean-tree/openembedded

2005/01/07 17:34:59+01:00 (none)!koen
make faad2 buildable again by refreshing patches

2005/01/07 17:09:12+01:00 local!hrw
openzaurus 2.6.10: kernel is copied to deploy/images after build

BKrev: 41debb6746cDf-wGGQKF8b376XdXVw

packages/faad2/faad2-2.0/Makefile.patch
packages/faad2/faad2_2.0.bb
packages/linux/openzaurus_2.6.10.bb

index 32c834a..2c68529 100644 (file)
@@ -1,8 +1,8 @@
---- faad2/Makefile.am.orig     2004-12-24 22:59:30.000000000 +0100
-+++ faad2/Makefile.am  2004-12-24 22:59:42.000000000 +0100
-@@ -1,8 +1,3 @@
+--- Makefile.am        2005-01-07 17:19:25.353714920 +0100
++++ Makefile.am.orig   2005-01-07 17:23:30.679419744 +0100
+@@ -1,8 +1,2 @@
  SUBDIRS = libfaad common frontend plugins
+-
  EXTRA_DIST = faad2.spec
 -
 -rpm:    Makefile
index 5ccff29..883cabc 100644 (file)
@@ -8,7 +8,7 @@ DEPENDS = ""
 inherit autotools
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.zip \
-           file://Makefile.patch;patch=1 \
+           file://Makefile.patch;pnum=0;patch=1 \
 "
 S="${WORKDIR}/${PN}"
 
index 6e5e7cb..2d2384c 100644 (file)
@@ -3,11 +3,12 @@ DESCRIPTION = "2.6 Linux Development Kernel for Zaurus devices."
 LICENSE = "GPL"
 #KV = "${@bb.data.getVar('PV',d,True).split('-')[0]}"
 KV = "${@bb.data.getVar('PV',d,True)}"
+PR = "r1"
 
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.gz \
 #SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-${KV}.tar.gz \
 #          http://www.cs.wisc.edu/~lenz/zaurus/files/patch-2.6.7-jl1.diff.gz;patch=1 \
 # http://www.rpsys.net/openzaurus/${KV}/jl1/localversion.patch;patch=1 \
+SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.gz \
 http://www.rpsys.net/openzaurus/${KV}/jl1/pxa-linking-bug.patch;patch=1 \
 http://www.rpsys.net/openzaurus/${KV}/jl1/pxa-cpu.patch;patch=1 \
 http://www.rpsys.net/openzaurus/${KV}/jl1/locomo_pm.patch;patch=1 \
@@ -57,7 +58,7 @@ inherit kernel
 #
 FILES_kernel = ""
 ALLOW_EMPTY = 1 
-        
+
 EXTRA_OEMAKE = ""
 COMPATIBLE_HOST = "arm.*-linux"
 
@@ -104,3 +105,12 @@ do_configure() {
        echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
     yes '' | oe_runmake oldconfig
 }
+
+do_deploy() {
+        install -d ${DEPLOY_DIR}/images
+        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin
+}
+
+do_deploy[dirs] = "${S}"
+
+addtask deploy before do_build after do_compile