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.
This commit is contained in:
Yann E. MORIN" 2009-10-03 17:09:18 +02:00
parent 947df3a503
commit c3b2d932d8

View File

@ -265,6 +265,10 @@ do_debug_gdb_build() {
unset ac_cv_func_strncmp_works
CT_DoLog EXTRA "Cleaning up ncurses"
cd "${CT_BUILD_DIR}/build-ncurses"
CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" uninstall
CT_EndStep # native gdb build
fi