diff --git a/scripts/Build-Pkg b/scripts/Build-Pkg index 725940b..a94626a 100755 --- a/scripts/Build-Pkg +++ b/scripts/Build-Pkg @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: scripts/Build-Pkg -# Copyright (C) 2006 - 2012 The OpenSDE Project +# Copyright (C) 2006 - 2013 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -654,7 +654,11 @@ abort() { # split debug symbols if [ "$SDECFG_DEBUG_SPLIT" = 1 ] && ! atstage toolchain; then - split_debug_files + if hasflag KERNEL ; then + echo_warning "Disabling debug symbol splitting (kernel package)" + else + split_debug_files + fi fi echo "Creating file list and doing final adaptions ... "