Browse Source

debug split: move check for enabling debug symbol splitting from functions.in into Build-Pkg

The check will be run right after the postinstall hook and before
creating the flist.
stable/0.5
Christian Wiese 11 years ago
committed by Christian Wiese
parent
commit
dfccac3194
2 changed files with 5 additions and 5 deletions
  1. +0
    -5
      lib/functions.in
  2. +5
    -0
      scripts/Build-Pkg

+ 0
- 5
lib/functions.in

@ -1231,11 +1231,6 @@ build_this_package() {
done
fi
# split debug symbols
if [ "$SDECFG_DEBUG_SPLIT" = 1 ] && ! atstage toolchain; then
split_debug_files
fi
if [ "$createdocs" != 0 ]; then
if [ ! -e $root$docdir ]; then
mkdir -p $docdir

+ 5
- 0
scripts/Build-Pkg

@ -652,6 +652,11 @@ abort() {
hook_eval postinstall
# split debug symbols
if [ "$SDECFG_DEBUG_SPLIT" = 1 ] && ! atstage toolchain; then
split_debug_files
fi
echo "Creating file list and doing final adaptions ... "
#
cd $xroot/

Loading…
Cancel
Save