-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdb: Convert to use multiple versions automatically
- Loading branch information
Showing
10 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
PKG_NAME = gdb | ||
PKG_VERS = 12.1 | ||
PKG_EXT = tar.xz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://ftp.gnu.org/gnu/gdb | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = cross/zlib cross/libexpat cross/gmp cross/ncursesw cross/mpfr | ||
|
||
HOMEPAGE = https://www.gnu.org/software/gdb/ | ||
COMMENT = The GNU Project Debugger | ||
LICENSE = GPLv2/LGPLv2 | ||
|
||
GNU_CONFIGURE = 1 | ||
CONFIGURE_ARGS += --enable-host-shared | ||
CONFIGURE_ARGS += --with-system-zlib | ||
|
||
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS) | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
|
||
# Library is not created under armv7 | ||
ifeq ($(findstring $(ARCH),$(ARMv7_ARCHS) $(ARMv7L_ARCHS)),$(ARCH)) | ||
PLIST_TRANSFORM = sed -e 's?lib:lib/libinproctrace.so??g' | ||
# binary only created on armv7 | ||
else | ||
PLIST_TRANSFORM = sed -e 's?bin:bin/run??g' | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
bin:bin/gcore | ||
bin:bin/gdb | ||
bin:bin/gdb-add-index | ||
bin:bin/gdbserver | ||
bin:bin/run | ||
lib:lib/libinproctrace.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
gdb-12.1.tar.xz SHA1 2edabd9f5766b84889b07b366b4438e93e994005 | ||
gdb-12.1.tar.xz SHA256 0e1793bf8f2b54d53f46dea84ccfd446f48f81b297b28c4f7fc017b818d69fed | ||
gdb-12.1.tar.xz MD5 759a1b8d2b4d403367dd0e14fa04643d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
PKG_NAME = gdb | ||
PKG_VERS = 12.1 | ||
PKG_EXT = tar.xz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://ftp.gnu.org/gnu/gdb | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = cross/zlib cross/libexpat cross/gmp cross/ncursesw cross/mpfr | ||
|
||
HOMEPAGE = https://www.gnu.org/software/gdb/ | ||
COMMENT = The GNU Project Debugger | ||
LICENSE = GPLv2/LGPLv2 | ||
|
||
GNU_CONFIGURE = 1 | ||
CONFIGURE_ARGS += --enable-host-shared | ||
CONFIGURE_ARGS += --with-system-zlib | ||
DOWNLOAD_TARGET = nop | ||
CHECKSUM_TARGET = nop | ||
EXTRACT_TARGET = nop | ||
CONFIGURE_TARGET = nop | ||
COMPILE_TARGET = nop | ||
INSTALL_TARGET = nop | ||
|
||
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS) | ||
OPTIONAL_DEPENDS = cross/gdb-latest | ||
OPTIONAL_DEPENDS += cross/gdb-7.12 | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
include ../../mk/spksrc.install-resources.mk | ||
|
||
# Library is not created under armv7 | ||
ifeq ($(findstring $(ARCH),$(ARMv7_ARCHS) $(ARMv7L_ARCHS)),$(ARCH)) | ||
PLIST_TRANSFORM = sed -e 's?lib:lib/libinproctrace.so??g' | ||
# binary only created on armv7 | ||
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS)),$(ARCH)) | ||
DEPENDS += cross/gdb-7.12 | ||
else | ||
PLIST_TRANSFORM = sed -e 's?bin:bin/run??g' | ||
DEPENDS += cross/gdb-latest | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +0,0 @@ | ||
bin:bin/gcore | ||
bin:bin/gdb | ||
bin:bin/gdb-add-index | ||
bin:bin/gdbserver | ||
bin:bin/run | ||
lib:lib/libinproctrace.so | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
gdb-12.1.tar.xz SHA1 2edabd9f5766b84889b07b366b4438e93e994005 | ||
gdb-12.1.tar.xz SHA256 0e1793bf8f2b54d53f46dea84ccfd446f48f81b297b28c4f7fc017b818d69fed | ||
gdb-12.1.tar.xz MD5 759a1b8d2b4d403367dd0e14fa04643d | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters