From 36a26b341d49d90e5b936278478134aa178a0238 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 11 Aug 2013 18:07:39 +0200 Subject: preliminary musl support --- toolchain/musl/Makefile | 29 +++++++++++++++++++++++++++++ toolchain/musl/Makefile.inc | 9 +++++++++ 2 files changed, 38 insertions(+) create mode 100644 toolchain/musl/Makefile create mode 100644 toolchain/musl/Makefile.inc (limited to 'toolchain/musl') 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 diff --git a/toolchain/musl/Makefile.inc b/toolchain/musl/Makefile.inc new file mode 100644 index 000000000..068c07ef8 --- /dev/null +++ b/toolchain/musl/Makefile.inc @@ -0,0 +1,9 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +PKG_NAME:= musl +PKG_VERSION:= 0.9.12 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 100c8e932d0785c35b92539f025aa76f +PKG_SITES:= http://www.musl-libc.org/releases/ +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3