summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-19 15:53:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-19 15:53:48 +0000
commit8500fcd5fd3d8ed19bf231032de3de74708b2c8f (patch)
tree363fb1429457f7bba8b76d5f29fb850cb73eef44
parent5c803fba277862697c813a6cd340667c7285efe2 (diff)
fix binutils_target-clean
-rw-r--r--toolchain/binutils/binutils.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk
index 309bd11e0..67bfaa553 100644
--- a/toolchain/binutils/binutils.mk
+++ b/toolchain/binutils/binutils.mk
@@ -124,6 +124,9 @@ $(TARGET_DIR)/usr/bin/ld: $(BINUTILS_DIR2)/binutils/objdump
binutils_target: $(GCC_DEPENDANCY) $(TARGET_DIR)/usr/bin/ld
binutils_target-clean:
+ (cd $(TARGET_DIR)/usr/bin; \
+ rm -f addr2line ar as gprof ld nm objcopy \
+ objdump ranlib readelf size strings strip)
rm -f $(TARGET_DIR)/bin/$(REAL_GNU_TARGET_NAME)*
-$(MAKE) -C $(BINUTILS_DIR2) clean