summaryrefslogtreecommitdiff
path: root/toolchain/musl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:44:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:44:05 +0200
commit5ae441d42ae9d1b33793a3ca19a7c929344337f7 (patch)
tree74fde0e28f77fc9627149148231391b311961bfe /toolchain/musl/Makefile
parentd871140e95bd81cf9ee4998d7199cff292241681 (diff)
parentd0cedd6214f7c35b73a22464c8688dbf9eb79f62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/musl/Makefile')
-rw-r--r--toolchain/musl/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 3782e5672..2cce6bebc 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -28,6 +28,10 @@ $(WRKBUILD)/.compiled:
touch $@
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
+ $(MAKE) -C $(WRKBUILD) DESTDIR=$(STAGING_TARGET_DIR) install
+ touch $@
+
+$(WRKBUILD)/.fixup:
# reconfigure musl, otherwise linking with libgcc or libgcc_eh is disabled
$(MAKE) CFLAGS='$(TARGET_CFLAGS)' -C $(WRKBUILD) clean
(cd $(WRKBUILD); CC='$(TARGET_CC)' CROSS_COMPILE='$(TARGET_CROSS)' \
@@ -39,7 +43,4 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
$(MAKE) -C $(WRKBUILD) DESTDIR=$(STAGING_TARGET_DIR) install
touch $@
-$(WRKBUILD)/.fixup:
- touch $@
-
include ${TOPDIR}/mk/toolchain.mk