summaryrefslogtreecommitdiff
path: root/recipes/m4/m4-native_1.4.11.bb
blob: 8beb8748e3547258a8ce78acb4927f0f171a2f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 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}/
}