Skip to content

Commit 213bcff

Browse files
committed
synocli-devel: Enable qoriq by disabling sim on gdb
1 parent 4c3acbd commit 213bcff

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

cross/gdb-7.12/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ CONFIGURE_ARGS += --with-system-zlib
2626
ifeq ($(call version_ge, ${TCVERSION}, 7.0),1)
2727
CONFIGURE_ARGS += --localstatedir=$(INSTALL_PREFIX_VAR)
2828
endif
29+
# disable simulator ; it's broken on ppc
30+
# https://scm.linefinity.com/common/openwrt/commit/079d57b0f290a79c9dbc013b6e9c83cebf8a2f99
31+
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
32+
CONFIGURE_ARGS += --disable-sim
33+
endif
2934

3035
include ../../mk/spksrc.cross-cc.mk
3136

cross/gdb-latest/Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,18 @@ HOMEPAGE = https://www.gnu.org/software/gdb/
1111
COMMENT = The GNU Project Debugger
1212
LICENSE = GPLv2/LGPLv2
1313

14+
include ../../mk/spksrc.archs.mk
15+
1416
GNU_CONFIGURE = 1
1517
CONFIGURE_ARGS += --enable-host-shared
1618
CONFIGURE_ARGS += --with-system-zlib
19+
# disable simulator ; it's broken on ppc
20+
# https://scm.linefinity.com/common/openwrt/commit/079d57b0f290a79c9dbc013b6e9c83cebf8a2f99
21+
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
22+
CONFIGURE_ARGS += --disable-sim
23+
endif
1724

18-
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS)
25+
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS)
1926

2027
include ../../mk/spksrc.cross-cc.mk
2128

cross/gdb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ OPTIONAL_DEPENDS += cross/gdb-7.12
1616

1717
include ../../mk/spksrc.install-resources.mk
1818

19-
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS) $(PPC_ARCHS)),$(ARCH))
19+
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS)),$(ARCH))
2020
DEPENDS += cross/gdb-7.12
2121
else
2222
DEPENDS += cross/gdb-latest

cross/llvm-9.0/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ HOMEPAGE = https://llvm.org/
99
COMMENT = The LLVM Project is a collection of modular and reusable compiler and toolchain technologies
1010
LICENSE = Apache License v2.0 with LLVM Exceptions
1111

12-
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS)
12+
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS)
1313
CMAKE_USE_NINJA = 1
1414

1515
# Using LLVM project source need to change to llvm sub-directory

cross/llvm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HOMEPAGE = https://www.gnu.org/software/gdb/
44
COMMENT = The GNU Project Debugger
55
LICENSE = GPLv2/LGPLv2
66

7-
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS)
7+
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS)
88

99
DOWNLOAD_TARGET = nop
1010
CHECKSUM_TARGET = nop

diyspk/gdb/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ STARTABLE = no
99
HOMEPAGE = https://www.sourceware.org/gdb/
1010
LICENSE = GPLv2
1111

12-
UNSUPPORTED_ARCHS = $(PPC_ARCHS)
13-
1412
include ../../mk/spksrc.archs.mk
1513

14+
DEPENDS = cross/gdb
1615
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS)),$(ARCH))
17-
DEPENDS = cross/gdb-legacy
1816
SPK_VERS = 7.12.1
1917
else
20-
DEPENDS = cross/gdb
21-
SPK_VERS = 12.1
18+
SPK_VERS = 13.2
2219
endif
2320

2421
SPK_COMMANDS = bin/gcore

spk/synocli-devel/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ LICENSE = Each tool is licensed under it\'s respective license.
1414

1515
SPK_DEPENDS = "Perl"
1616

17-
UNSUPPORTED_ARCHS = $(PPC_ARCHS)
18-
1917
OPTIONAL_DEPENDS = cross/llvm
2018

2119
include ../../mk/spksrc.archs.mk

0 commit comments

Comments
 (0)