summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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