aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-mono/mono/mono-5.16.inc
blob: 166945d9d7481d6ad1c41284cd4127f66ba919f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# The source package erroneously contains some build output files from a
# build for x86. These need to be deleted else we can't cross-compile the
# package.
#
# Clenaup is based on mono commit ffa8c9992f8 ("Merge pull request #11509 from
# directhex/cleanup-system-native-make-dist")

do_configure:prepend () {
    rm -rf $(find ${S} -type d -name "*\.libs")
    rm -rf $(find ${S} -name "*\.deps")
    rm -f $(find ${S} -name "*\.o")
    rm -f $(find ${S} -name "*\.so")
    rm -f $(find ${S} -name "*\.lo")
    rm -f $(find ${S} -name "*\.Plo")
    rm -f $(find ${S} -name "\.dirstamp")
}