summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-05 00:18:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-05 00:18:32 +0100
commit3ac04f9944e188e416aa183716caa1b799bba415 (patch)
treef43f33d67619cd45ee4496e9f31b5375f3324336 /toolchain/binutils/Makefile
parentd0398dc33628c501388d32dcb3faf68859dd6bcb (diff)
parentf91e0ea142f7688b8e963f4cae1211e4b8ecdcc2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index b2c281e37..33f03c7fb 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -40,8 +40,10 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) install
- # needed on hosts without readelf
+ # needed on hosts without readelf, but strange things happen on Cygwin.
+ifeq (${OStype},Darwin)
$(CP) $(WRKBUILD)/binutils/readelf $(STAGING_HOST_DIR)/bin
+endif
touch $@
include ${TOPDIR}/mk/toolchain.mk