Browse Source

Improved sde-config/main.in to handle ? on [P] as 'only when cross compiling' - close #372

misl/sde-wrapper
Alejandro Mery 17 years ago
parent
commit
ccd0167b89
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      lib/sde-config/main.in

+ 3
- 1
lib/sde-config/main.in

@ -117,8 +117,10 @@ block_begin 7
then . architecture/$SDECFG_ARCH/config.in ; fi
bool 'This is a cross-build between architectures' SDECFG_CROSSBUILD 0
if [ "$SDECFG_CROSSBUILD" = 1 ] ; then
pkgfilter sed -e 's,^\(. ..\)[^ ]*,\1--------,'
pkgfilter sed -e 's,^\(. ..\)[^ ]*,\1--------,' -e 's,^\(. \)?,\10,' -e 's,^\(. .\)?,\11,'
SDECFG_ID="$SDECFG_ID-cross" ; SDECFGSET_USE_CROSSCC=1
else
pkgfilter sed -e 's,^\(. \)?,\1-,' -e 's,^\(. .\)?,\1-,'
fi
block_end

Loading…
Cancel
Save