debug/gdb: cleanup (remove) the static ncurses build
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 17:09:18 2009 +0200 (2009-10-03)
changeset 15553445f45e6c37
parent 1553 f1e9a86607bd
child 1556 943775dfbf92
debug/gdb: cleanup (remove) the static ncurses build

ncurses is built solely for the sake of building a native gdb.
The user should not rely on this library to build his/her userland,
but should rather build his/her own. So we remove it from the
sysroot after we successfully build the native gdb.
scripts/build/debug/300-gdb.sh
     1.1 --- a/scripts/build/debug/300-gdb.sh	Sat Oct 03 16:53:05 2009 +0200
     1.2 +++ b/scripts/build/debug/300-gdb.sh	Sat Oct 03 17:09:18 2009 +0200
     1.3 @@ -265,6 +265,10 @@
     1.4  
     1.5          unset ac_cv_func_strncmp_works
     1.6  
     1.7 +        CT_DoLog EXTRA "Cleaning up ncurses"
     1.8 +        cd "${CT_BUILD_DIR}/build-ncurses"
     1.9 +        CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" uninstall
    1.10 +
    1.11          CT_EndStep # native gdb build
    1.12      fi
    1.13