summaryrefslogtreecommitdiffstats
path: root/src/gdb.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-06 14:58:02 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-06 14:58:02 (GMT)
commitc694018df47a75161ed3638721bfaffc09eb0f4d (patch)
tree8e70b4544d234ee982f2d612049bdbb6bced3960 /src/gdb.mk
parentb466db190c3aec8cce2cf6f35c5e562e87fed21b (diff)
downloadmxe-c694018df47a75161ed3638721bfaffc09eb0f4d.zip
mxe-c694018df47a75161ed3638721bfaffc09eb0f4d.tar.gz
mxe-c694018df47a75161ed3638721bfaffc09eb0f4d.tar.bz2
gdb: only install executables
libs and headers conflict with other pkgs - mostly bfd
Diffstat (limited to 'src/gdb.mk')
-rw-r--r--src/gdb.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gdb.mk b/src/gdb.mk
index 056f2c3..95faa3c 100644
--- a/src/gdb.mk
+++ b/src/gdb.mk
@@ -23,6 +23,8 @@ define $(PKG)_BUILD
--with-system-readline \
CONFIG_SHELL=$(SHELL)
$(MAKE) -C '$(1)' -j '$(JOBS)'
- $(MAKE) -C '$(1)' -j 1 install MAKEINFO=true
-endef
+ # executables are always static and we don't the rest
+ $(INSTALL) -m755 '$(1)/gdb/gdb.exe' '$(PREFIX)/$(TARGET)/bin/'
+ $(INSTALL) -m755 '$(1)/gdb/gdbserver/gdbserver.exe' '$(PREFIX)/$(TARGET)/bin/'
+endef