aboutsummaryrefslogtreecommitdiffstats
path: root/mtd
diff options
context:
space:
mode:
authorerich@mine.nu <erich@mine.nu>2004-04-03 01:45:12 +0000
committererich@mine.nu <erich@mine.nu>2004-04-03 01:45:12 +0000
commita94e1d77211080a33be9930f78af426b971265b0 (patch)
tree87fa70da97c8a391359240304563c926aab05989 /mtd
parentd0f97b5093d7e1a63b176a526d59b19d3d9945bf (diff)
downloadopenembedded-a94e1d77211080a33be9930f78af426b971265b0.tar.gz
mtd: a patch including correct header files (thanks pb_ for idea) and set correct include path
BKrev: 406e1728a1Jame_TmHHVC3Ob7odDNw
Diffstat (limited to 'mtd')
-rw-r--r--mtd/mtd.oe7
-rw-r--r--mtd/mtd/removelinuxinc.patch0
2 files changed, 3 insertions, 4 deletions
diff --git a/mtd/mtd.oe b/mtd/mtd.oe
index 182d7bfc60..c6a11b5037 100644
--- a/mtd/mtd.oe
+++ b/mtd/mtd.oe
@@ -4,11 +4,10 @@ PV = "${CVSDATE}"
S = "${WORKDIR}/mtd/"
SRC_URI = "cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd \
- file://${FILESDIR}/stdint.patch;patch=1;pnum=0"
+ file://${FILESDIR}/stdint.patch;patch=1;pnum=0 \
+ file://${FILESDIR}/removelinuxinc.patch;patch=1;pnum=1"
-CFLAGS_prepend = "-I${S}/../include "
-CPPFLAGS_prepend = "-I${S}/../include "
-CXXFLAGS_prepend = "-I${S}/../include "
+CFLAGS_prepend = "-I${S}/include "
do_compile () {
oe_runmake -C util
diff --git a/mtd/mtd/removelinuxinc.patch b/mtd/mtd/removelinuxinc.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/mtd/mtd/removelinuxinc.patch