gdb: only install executables

libs and headers conflict with other pkgs - mostly bfd
This commit is contained in:
Tony Theodore 2015-09-07 00:58:02 +10:00
parent b466db190c
commit c694018df4
1 changed files with 4 additions and 2 deletions

View File

@ -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