[oe-commits] Andreas Oberritter : linux-dm8000: use $MACHINE

GIT User account git at amethyst.openembedded.net
Thu Nov 6 23:11:50 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: 6d6c3bc841be52e28bd0423adc0e59dda3d34eb3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6d6c3bc841be52e28bd0423adc0e59dda3d34eb3

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Thu Nov  6 23:31:54 2008 +0100

linux-dm8000: use $MACHINE

---

 packages/linux/linux-dm8000.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/linux/linux-dm8000.bb b/packages/linux/linux-dm8000.bb
index 881e0e9..081b82a 100644
--- a/packages/linux/linux-dm8000.bb
+++ b/packages/linux/linux-dm8000.bb
@@ -1,13 +1,13 @@
 DESCRIPTION = "Linux kernel for Dreambox DM8000"
 LICENSE = "GPL"
-PN = "linux-dm8000"
+PN = "linux-${MACHINE}"
 KV = "2.6.12"
 PV = "2.6.12"
 PR = "r7"
 
 # note, the rX in the filename is *NOT* the packet revision - it's the patch revision.
 SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
-	file://dm8000_defconfig \
+	file://${MACHINE}_defconfig \
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-brcm-5.1.patch.bz2;patch=1;pnum=1 \
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-update_dvbapi-r1.patch.bz2;patch=1;pnum=1 \
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-dvb-multipid-r4.patch.bz2;patch=1;pnum=1 \
@@ -17,7 +17,7 @@ SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
 	http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-add-ioprio.patch.bz2;patch=1;pnum=1 \
 	file://linux-2.6.12-dvbapi-support-more-demux.patch;patch=1;pnum=1 \
 	file://linux-2.6.12-dream-misc.patch;patch=1;pnum=1 \
-	file://linux-2.6.12-dm8000-nand.patch;patch=1;pnum=1 \
+	file://linux-2.6.12-${MACHINE}-nand.patch;patch=1;pnum=1 \
 	file://linux-2.6.12-dream-temp.patch;patch=1;pnum=1 \
 	file://linux-2.6.12-brcm-mtd-blkdevfs-fix.diff;patch=1;pnum=1 \
 	file://linux-2.6.12-brcm-fix-usb-for-revb0.diff;patch=1;pnum=1 \
@@ -54,7 +54,7 @@ do_munge() {
 addtask munge before do_patch after do_unpack
 
 do_configure_prepend() {
-	oe_machinstall -m 0644 ${WORKDIR}/dm8000_defconfig ${S}/.config
+	oe_machinstall -m 0644 ${WORKDIR}/${MACHINE}_defconfig ${S}/.config
 	if [ -d ${WORKDIR}/cdfs-${PV} ]; then
 		mv ${WORKDIR}/cdfs-${PV} ${S}/fs/cdfs
 		cd ${S} & patch -p0 < ${S}/fs/cdfs/patch.cdfs





More information about the Openembedded-commits mailing list