summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb
blob: 21f06782fb5deaccced5e3d9e2df844df023b52d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "Produce a broken la file"
LICENSE = "CLOSED"
INHIBIT_DEFAULT_DEPS = "1"

EXCLUDE_FROM_WORLD = "1"

# remove-libtool.bbclass is inherited by default and removes all
# .la files which for this test we specifically do not want.
REMOVE_LIBTOOL_LA = "0"

do_install() {
    install -d ${D}${libdir}/test/
    echo '${WORKDIR}' > ${D}${libdir}/test/la-test.la
}

BBCLASSEXTEND += "native"