]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
bump version gdb-8.0.1 for arm
authorMarkham <markham001@gmx.de>
Tue, 18 Sep 2018 16:27:35 +0000 (18:27 +0200)
committerMarkham <markham001@gmx.de>
Tue, 18 Sep 2018 16:27:35 +0000 (18:27 +0200)
make/applications.mk
make/versions.mk

index 7cc0dfc76ae6bbe826b8393d34b626928812e790..449827c56bdaa88ec2e6eb9834a25698327cb4d7 100755 (executable)
@@ -347,22 +347,31 @@ $(D)/hd-idle: $(ARCHIVE)/hd-idle-$(HD_IDLE_VER).tgz | $(TARGETPREFIX)
        $(REMOVE)/hd-idle
        $(TOUCH)
 
-#  NOTE:
+#  NOTE
 #  gdb built for target or local-PC
-$(D)/gdb: $(ARCHIVE)/gdb-$(GDB_VER).tar.xz | $(TARGETPREFIX)
+$(D)/gdb: $(D)/zlib $(D)/libncurses $(ARCHIVE)/gdb-$(GDB_VER).tar.xz | $(TARGETPREFIX)
        $(START_BUILD)
        $(REMOVE)/gdb-$(GDB_VER)
        $(UNTAR)/gdb-$(GDB_VER).tar.xz
-       pushd $(BUILD_TMP)/gdb-$(GDB_VER) && \
-               $(BUILDENV) \
+       set -e; cd $(BUILD_TMP)/gdb-$(GDB_VER); \
                ./configure \
-                       --nfp --disable-werror \
+                       --build=$(BUILD) \
+                       --host=$(TARGET) \
+                       --target=$(TARGET) \
                        --prefix= \
-                       --mandir=/.remove \
-                       --infodir=/.remove \
-                       --build=$(BUILD) --host=$(TARGET) && \
-               $(MAKE) all-gdb && \
-               $(MAKE) install-gdb prefix=$(TARGETPREFIX) && \
+                       --mandir=$(BUILD_TMP)/.remove \
+                       --infodir=$(BUILD_TMP)/.remove \
+                       --datarootdir=$(BUILD_TMP)/.remove \
+                       --disable-binutils \
+                       --disable-werror \
+                       --nfp \
+                       --with-curses \
+                       --with-zlib \
+                       --enable-static; \
+               $(MAKE) all-gdb; \
+               make install-gdb prefix=$(TARGETPREFIX)
+       rm -rf $(TARGETPREFIX)/share/gdb/system-gdbinit
+       find $(TARGETPREFIX)/share/gdb/syscalls -type f -not -name 'arm-linux.xml' -not -name 'gdb-syscalls.dtd' -print0 | xargs -0 rm --
        $(REMOVE)/gdb-$(GDB_VER)
        $(TOUCH)
 
index 334a3f4b27125d320b3adf902a4f98e45c379059..5c04e236e13e54b7737048326cdd15ae093abeed 100644 (file)
@@ -33,7 +33,7 @@ DROPBEAR_VER=2018.76
 GD_VER = 2.0.35
 
 # GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes
-GDB_VER=7.12.1
+GDB_VER=8.0.1
 
 GETTEXT_VER = 0.19.8.1