summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMalte Starostik <m-starostik@versanet.de>2010-07-24 21:29:56 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-30 10:46:37 +0200
commite48a72e5e958ca8227c04a3ee1e47cac2037a56e (patch)
tree9b383bcda21b31fbae5a0dd375e85b607d0eaeb9 /Makefile
parentbea9e43fe7d0adbcd472fb8b5f56aba5e2004f80 (diff)
Remove gdb plugins from target
* Don't install gdb plugins unless BR2_TARGET_GDB is set Signed-off-by: Malte Starostik <m-starostik@versanet.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f130325a4..291badf61 100644
--- a/Makefile
+++ b/Makefile
@@ -388,6 +388,9 @@ else
find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
endif
+ifneq ($(BR2_PACKAGE_GDB),y)
+ rm -rf $(TARGET_DIR)/usr/share/gdb
+endif
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info