Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# /usr/sbin/vdr.
$(DIR_SRC)/src/stripper / \
--exclude=$(TOOLS_DIR) \
+ --exclude=$(QEMU_TARGET_HELPER) \
--exclude=/tmp \
--exclude=/usr/src \
--exclude=/usr/lib/vdr \
}
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
strip="${1#*=}"
;;
--exclude=*)
- excludes+=( "!" "-path" "${1#*=}/*" )
+ if [ -n "${1#*=}" ]; then
+ excludes+=( "!" "-path" "${1#*=}" "!" "-path" "${1#*=}/*" )
+ fi
;;
--ignore-errors)
break_on_error="0"