Skip to content

Commit

Permalink
synocli-devel: Enable qoriq by disabling sim on gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Sep 13, 2023
1 parent b669316 commit c41d4fc
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 11 deletions.
5 changes: 5 additions & 0 deletions cross/gdb-7.12/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ CONFIGURE_ARGS += --with-system-zlib
ifeq ($(call version_ge, ${TCVERSION}, 7.0),1)
CONFIGURE_ARGS += --localstatedir=$(INSTALL_PREFIX_VAR)
endif
# disable simulator ; it's broken on ppc
# https://scm.linefinity.com/common/openwrt/commit/079d57b0f290a79c9dbc013b6e9c83cebf8a2f99
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
CONFIGURE_ARGS += --disable-sim
endif

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

Expand Down
9 changes: 8 additions & 1 deletion cross/gdb-latest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@ HOMEPAGE = https://www.gnu.org/software/gdb/
COMMENT = The GNU Project Debugger
LICENSE = GPLv2/LGPLv2

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

GNU_CONFIGURE = 1
CONFIGURE_ARGS += --enable-host-shared
CONFIGURE_ARGS += --with-system-zlib
# disable simulator ; it's broken on ppc
# https://scm.linefinity.com/common/openwrt/commit/079d57b0f290a79c9dbc013b6e9c83cebf8a2f99
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
CONFIGURE_ARGS += --disable-sim
endif

UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS)
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS)

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

Expand Down
2 changes: 1 addition & 1 deletion cross/gdb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OPTIONAL_DEPENDS += cross/gdb-7.12

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

ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS) $(PPC_ARCHS)),$(ARCH))
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS)),$(ARCH))
DEPENDS += cross/gdb-7.12
else
DEPENDS += cross/gdb-latest
Expand Down
2 changes: 1 addition & 1 deletion cross/llvm-9.0/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ HOMEPAGE = https://llvm.org/
COMMENT = The LLVM Project is a collection of modular and reusable compiler and toolchain technologies
LICENSE = Apache License v2.0 with LLVM Exceptions

UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS)
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS)
CMAKE_USE_NINJA = 1

# Using LLVM project source need to change to llvm sub-directory
Expand Down
2 changes: 1 addition & 1 deletion cross/llvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HOMEPAGE = https://www.gnu.org/software/gdb/
COMMENT = The GNU Project Debugger
LICENSE = GPLv2/LGPLv2

UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(PPC_ARCHS)
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS)

DOWNLOAD_TARGET = nop
CHECKSUM_TARGET = nop
Expand Down
7 changes: 2 additions & 5 deletions diyspk/gdb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ STARTABLE = no
HOMEPAGE = https://www.sourceware.org/gdb/
LICENSE = GPLv2

UNSUPPORTED_ARCHS = $(PPC_ARCHS)

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

DEPENDS = cross/gdb
ifeq ($(findstring $(ARCH),$(ARMv5_ARCHS)),$(ARCH))
DEPENDS = cross/gdb-legacy
SPK_VERS = 7.12.1
else
DEPENDS = cross/gdb
SPK_VERS = 12.1
SPK_VERS = 13.2
endif

SPK_COMMANDS = bin/gcore
Expand Down
2 changes: 0 additions & 2 deletions spk/synocli-devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ LICENSE = Each tool is licensed under it\'s respective license.

SPK_DEPENDS = "Perl"

UNSUPPORTED_ARCHS = $(PPC_ARCHS)

OPTIONAL_DEPENDS = cross/llvm

include ../../mk/spksrc.archs.mk
Expand Down

0 comments on commit c41d4fc

Please sign in to comment.