mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
strip: Do not try to strip QEMU
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
9fa3eed00a
commit
1432531ac8
@@ -58,6 +58,7 @@ else
|
||||
# /usr/sbin/vdr.
|
||||
$(DIR_SRC)/src/stripper / \
|
||||
--exclude=$(TOOLS_DIR) \
|
||||
--exclude=$(QEMU_TARGET_HELPER) \
|
||||
--exclude=/tmp \
|
||||
--exclude=/usr/src \
|
||||
--exclude=/usr/lib/vdr \
|
||||
|
||||
2
make.sh
2
make.sh
@@ -781,7 +781,7 @@ fake_environ() {
|
||||
}
|
||||
|
||||
qemu_environ() {
|
||||
local env
|
||||
local env="QEMU_TARGET_HELPER=${QEMU_TARGET_HELPER}"
|
||||
|
||||
# Don't add anything if qemu is not used.
|
||||
if ! qemu_is_required; then
|
||||
|
||||
@@ -11,7 +11,9 @@ while [ $# -gt 0 ]; do
|
||||
strip="${1#*=}"
|
||||
;;
|
||||
--exclude=*)
|
||||
excludes+=( "!" "-path" "${1#*=}/*" )
|
||||
if [ -n "${1#*=}" ]; then
|
||||
excludes+=( "!" "-path" "${1#*=}" "!" "-path" "${1#*=}/*" )
|
||||
fi
|
||||
;;
|
||||
--ignore-errors)
|
||||
break_on_error="0"
|
||||
|
||||
Reference in New Issue
Block a user