summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-03-03 11:33:58 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-03-03 11:33:58 +0000
commit16be03c3501abdcbab331b414839da2590cccd08 (patch)
tree8751c1d276a0caa9c73981f376fb227e0962b985 /packages
parent7365306486c2c556864096437f2845d89997ac9d (diff)
mtd-utils: Fix cross compiling
Diffstat (limited to 'packages')
-rw-r--r--packages/mtd/mtd-utils_1.0.0+git.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/mtd/mtd-utils_1.0.0+git.bb b/packages/mtd/mtd-utils_1.0.0+git.bb
index b684ac0833..62a2c0630b 100644
--- a/packages/mtd/mtd-utils_1.0.0+git.bb
+++ b/packages/mtd/mtd-utils_1.0.0+git.bb
@@ -3,7 +3,7 @@ SECTION = "base"
DEPENDS = "zlib lzo"
HOMEPAGE = "http://www.linux-mtd.infradead.org/"
LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=master \
file://add_lzo.patch;patch=1 \
@@ -13,7 +13,7 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=master \
S = "${WORKDIR}/git/"
-EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR'"
+EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR'"
do_stage () {
install -d ${STAGING_INCDIR}/mtd