From 24c4c14ab24f961afe38812539237ef1fe15fa44 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 9 Feb 2020 02:11:32 +0100 Subject: [PATCH] scripts/build: allow installation of *.o files commit c468820ba9bab93c9d2fd34eba765e52b703b3ee "scripts/build: cleanup" started to silently remove *.o files from the installation without giving an explanation why this should be needed. Drop that as it prevents packages from including *.o files in the image, which eg is needed to include IR BPF decoders in LibreELEC. Packages which install *.o files that should not end up in the image should manually remove these in post_makeinstall_target. Signed-off-by: Matthias Reichl --- scripts/build | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/build b/scripts/build index 82419f992d..dfbb5d6252 100755 --- a/scripts/build +++ b/scripts/build @@ -468,7 +468,6 @@ if [ "${TARGET}" = "target" -o "${TARGET}" = "init" ]; then rm -rf ${INSTALL}/{usr/local/,usr/,}var find ${INSTALL} \( -name "*.orig" \ -o -name "*.rej" \ - -o -name "*.o" \ -o -name "*.in" \ -o -name ".git*" \) \ -exec rm -f {} \; 2>/dev/null || :