summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-03-05 16:18:47 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-03-05 16:18:47 +0000
commit5bd93286d5dd54ddae93f2c79c9fa525edd402a2 (patch)
treeeb8b083b4faafe1f77e847d3c22ff554d4807231
parentef531024660d545944a3e4ccf07a757c05895dfe (diff)
mtd-utils: Install headers into correct directory (patch by Tom Rini)
-rw-r--r--packages/mtd/mtd-utils_1.0.0+git.bb4
-rw-r--r--packages/mtd/mtd-utils_1.1.0.bb4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/mtd/mtd-utils_1.0.0+git.bb b/packages/mtd/mtd-utils_1.0.0+git.bb
index 42d92edd9a..b325bb03d3 100644
--- a/packages/mtd/mtd-utils_1.0.0+git.bb
+++ b/packages/mtd/mtd-utils_1.0.0+git.bb
@@ -36,12 +36,12 @@ mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
do_install () {
install -d ${D}${bindir}
- install -d ${D}${includedir}
+ install -d ${D}${includedir}/mtd
for binary in ${mtd_utils}; do
install -m 0755 $binary ${D}${bindir}
done
for f in ${S}/include/mtd/*.h; do
- install -m 0644 $f ${D}${includedir}
+ install -m 0644 $f ${D}${includedir}/mtd
done
}
diff --git a/packages/mtd/mtd-utils_1.1.0.bb b/packages/mtd/mtd-utils_1.1.0.bb
index 679fc7e79e..ed9a8b8441 100644
--- a/packages/mtd/mtd-utils_1.1.0.bb
+++ b/packages/mtd/mtd-utils_1.1.0.bb
@@ -33,12 +33,12 @@ mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
do_install () {
install -d ${D}${bindir}
- install -d ${D}${includedir}
+ install -d ${D}${includedir}/mtd
for binary in ${mtd_utils}; do
install -m 0755 $binary ${D}${bindir}
done
for f in ${S}/include/mtd/*.h; do
- install -m 0644 $f ${D}${includedir}
+ install -m 0644 $f ${D}${includedir}/mtd
done
}