summaryrefslogtreecommitdiff
path: root/binutils/binutils-cross-sdk_2.15.91.0.2.oe
blob: e9af9e897cc63cad21b8c381649874c6dbd4b3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PR = "r1"
include binutils_${PV}.oe
inherit sdk
DEPENDS += "flex-native bison-native"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}"
EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
		--disable-nls \
		--program-prefix=${TARGET_PREFIX}"

do_stage() {
	:
}

do_install () {
        autotools_do_install
                                                                               
        # Install the libiberty header
        install -d ${D}/${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}/${includedir}
        install -m 644 ${S}/include/libiberty.h ${D}/${includedir}
}