summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-core/newlib/libgloss-microblaze.inc
blob: 5410286b6d85815d9fcd54e904e1124c76d3c6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require microblaze-newlib.inc

do_configure:prepend() {
    # hack for microblaze, which needs xilinx.ld to literally do any linking (its hard coded in its LINK_SPEC)
    export CC="${CC} -L${S}/libgloss/microblaze"
}

# Libgloss provides various .o files in libdir
# These must NOT be stripped, but for some reason they are installed +x
# which triggers them to be stripped.
do_install:append() {
    chmod 0644 ${D}${libdir}/*.o
}