diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-11 18:07:39 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-11 18:07:39 +0200 |
commit | 36a26b341d49d90e5b936278478134aa178a0238 (patch) | |
tree | 2c5bd0adacb775f849c82e5942a3bfb9061c8a5a /toolchain/musl/Makefile | |
parent | 16de5fcccc6de9d6df017078fb02f775514c1b9b (diff) |
preliminary musl support
Diffstat (limited to 'toolchain/musl/Makefile')
-rw-r--r-- | toolchain/musl/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile new file mode 100644 index 000000000..3955e3eda --- /dev/null +++ b/toolchain/musl/Makefile @@ -0,0 +1,29 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk +include ../rules.mk +include Makefile.inc +include ${TOPDIR}/mk/buildhlp.mk + +$(WRKBUILD)/.headers: + (cd $(WRKBUILD); CC='$(TARGET_CC)' CROSS_COMPILE='$(TARGET_CROSS)' ./configure --prefix=/usr \ + --target=$(REAL_GNU_TARGET_NAME) \ + --disable-gcc-wrapper \ + ) + $(MAKE) -C $(WRKBUILD) DESTDIR=$(STAGING_TARGET_DIR) install-headers + touch $(WRKBUILD)/.configured + touch $@ + +$(WRKBUILD)/.compiled: + $(MAKE) -C $(WRKBUILD) all + touch $@ + +$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled + $(MAKE) -C $(WRKBUILD) DESTDIR=$(STAGING_TARGET_DIR) install + touch $@ + +$(WRKBUILD)/.fixup: + touch $@ + +include ${TOPDIR}/mk/toolchain.mk |