Use $CONFIG_DIR were appropriate
[qi-bootmenu-system.git] / sources / sections / gdbserver.sh
blob1b3b8987785a38a5ad6aa7cbb265f72afaf6f78b
1 setupfor gdb
3 cd gdb/gdbserver || dienow
5 LDFLAGS="$CROSS_LDFLAGS $LDFLAGS" CFLAGS="$CROSS_CFLAGS $CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \
6 --program-prefix="" &&
7 make &&
8 make DESTDIR="$STAGING_DIR" install || dienow
10 cp "$STAGING_DIR/usr/bin/gdbserver" "$ROOT_DIR/usr/bin" || dienow
12 cleanup gdb