summaryrefslogtreecommitdiff
path: root/packages/m4/m4-native_1.4.2.bb
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2005-03-09 21:58:28 +0000
committerChris Larson <clarson@kergoth.com>2005-03-09 21:58:28 +0000
commit21b8fb9877609fb07bb4c0fefe8d32b49f737f06 (patch)
tree5aa10ad5b038a16ddf2a50f8dc8fee3df6260cb3 /packages/m4/m4-native_1.4.2.bb
parentcc87acee17bb71debd94581366d6d2036e283e2d (diff)
Fix the m4-native build.
BKrev: 422f7184WkCloiOx4WNrC16ywQSTQg
Diffstat (limited to 'packages/m4/m4-native_1.4.2.bb')
-rw-r--r--packages/m4/m4-native_1.4.2.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/m4/m4-native_1.4.2.bb b/packages/m4/m4-native_1.4.2.bb
index e69de29bb2..67fe36c7a1 100644
--- a/packages/m4/m4-native_1.4.2.bb
+++ b/packages/m4/m4-native_1.4.2.bb
@@ -0,0 +1,19 @@
+include m4_${PV}.bb
+
+inherit native
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/m4"
+
+INHIBIT_AUTOTOOLS_DEPS = "1"
+DEPENDS += "gnu-config-native"
+
+do_configure() {
+ install -m 0644 ${STAGING_DATADIR}/gnu-config/config.sub .
+ install -m 0644 ${STAGING_DATADIR}/gnu-config/config.guess .
+ oe_runconf
+}
+
+do_stage() {
+ install -m 0755 src/m4 ${STAGING_BINDIR}/
+}
+