summaryrefslogtreecommitdiffstats
path: root/rules/gdb.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-06-16 11:00:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-06-21 09:34:50 +0200
commit22c3e8c60cec6c17aa84dbcda5cd59264949a448 (patch)
tree299b9acdd1ad9018dc443601f16ce8b5140eeef2 /rules/gdb.make
parent56b1e28fdbf7873ccfc46fa82cef9734691a31e7 (diff)
downloadptxdist-22c3e8c60cec6c17aa84dbcda5cd59264949a448.tar.gz
ptxdist-22c3e8c60cec6c17aa84dbcda5cd59264949a448.tar.xz
gdb: don't change the libdir
libdir is used to find debug files, so it should remaint the default. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gdb.make')
-rw-r--r--rules/gdb.make12
1 files changed, 11 insertions, 1 deletions
diff --git a/rules/gdb.make b/rules/gdb.make
index 5831fb35a..a24792242 100644
--- a/rules/gdb.make
+++ b/rules/gdb.make
@@ -53,7 +53,6 @@ endif
#
GDB_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
- --libdir=/usr/lib/gdb \
--target=$(PTXCONF_GNU_TARGET) \
--with-build-sysroot=$(SYSROOT) \
--disable-werror
@@ -62,6 +61,17 @@ GDB_AUTOCONF := \
GDB_BUILD_OOT := YES
# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/gdb.install:
+ @$(call targetinfo)
+ @$(call world/install, GDB)
+# # don't install static libraries to sysroot
+ @rm -rf $(GDB_PKGDIR)/usr/lib
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------