diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/llvm/Makefile | 48 | ||||
-rw-r--r-- | package/llvm/patches/patch-Makefile | 12 | ||||
-rw-r--r-- | package/llvm/patches/patch-Makefile_rules | 11 |
3 files changed, 0 insertions, 71 deletions
diff --git a/package/llvm/Makefile b/package/llvm/Makefile deleted file mode 100644 index 0229a7594..000000000 --- a/package/llvm/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include $(ADK_TOPDIR)/rules.mk - -PKG_NAME:= llvm -PKG_VERSION:= 3.4 -PKG_RELEASE:= 1 -PKG_HASH:= 25a5612d692c48481b9b397e2b55f4870e447966d66c96d655241702d44a2628 -PKG_DESCR:= collection of modular and reusable compiler and toolchain technologies -PKG_SECTION:= dev/lang -PKG_URL:= http://llvm.org/ -PKG_SITES:= http://llvm.org/releases/3.4/ - -PKG_LIBC_DEPENDS:= glibc musl -PKG_HOST_DEPENDS:= !darwin -PKG_ARCH_DEPENDS:= mips x86 x86_64 arm - -PKG_CFLINE_LLVM:= depends on ADK_BROKEN -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.src.tar.gz - -include $(ADK_TOPDIR)/mk/package.mk - -TARGET_CFLAGS:= $(filter-out -fhonour-copts,$(TARGET_CFLAGS)) -# disable honour cflags stuff -XAKE_FLAGS+= GCC_HONOUR_COPTS=s - -$(eval $(call PKG_template,LLVM,llvm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -CONFIG_STYLE:= manual -BUILD_STYLE:= manual -INSTALL_STYLE:= manual -XAKE_FLAGS+= VERBOSE=1 - -do-configure: - mkdir -p $(WRKBUILD)/BuildTools - (cd $(WRKBUILD)/BuildTools; env ac_cv_build_exeext="" ../configure ${CONFIGURE_TRIPLE} --prefix=/usr --disable-docs) - -do-build: - env GCC_HONOUR_COPTS=s ${MAKE} -C ${WRKBUILD}/BuildTools - -do-install: - env GCC_HONOUR_COPTS=s ${MAKE} -C ${WRKBUILD}/BuildTools DESTDIR=$(STAGING_TARGET_DIR) install - env GCC_HONOUR_COPTS=s ${MAKE} -C ${WRKBUILD}/BuildTools DESTDIR=$(WRKINST) install - cp ${WRKBUILD}/BuildTools/BuildTools/Release+Asserts/bin/llvm-config \ - $(STAGING_TARGET_DIR)/usr/bin - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/llvm/patches/patch-Makefile b/package/llvm/patches/patch-Makefile deleted file mode 100644 index 74a8af7f3..000000000 --- a/package/llvm/patches/patch-Makefile +++ /dev/null @@ -1,12 +0,0 @@ ---- llvm-3.3.src.orig/Makefile 2013-01-28 04:19:57.000000000 +0100 -+++ llvm-3.3.src/Makefile 2013-08-12 14:50:49.000000000 +0200 -@@ -110,6 +110,9 @@ cross-compile-build-tools: - $(Verb) if [ ! -f BuildTools/Makefile ]; then \ - $(MKDIR) BuildTools; \ - cd BuildTools ; \ -+ unset CC ; \ -+ unset CXX ; \ -+ unset RANLIB ; \ - unset CFLAGS ; \ - unset CXXFLAGS ; \ - unset SDKROOT ; \ diff --git a/package/llvm/patches/patch-Makefile_rules b/package/llvm/patches/patch-Makefile_rules deleted file mode 100644 index 51ead24f5..000000000 --- a/package/llvm/patches/patch-Makefile_rules +++ /dev/null @@ -1,11 +0,0 @@ ---- llvm-2.9.orig/Makefile.rules 2011-03-25 07:26:58.000000000 +0100 -+++ llvm-2.9/Makefile.rules 2011-07-30 12:32:43.143700539 +0200 -@@ -550,7 +550,7 @@ endif - ifndef KEEP_SYMBOLS - Strip := $(PLATFORMSTRIPOPTS) - StripWarnMsg := "(without symbols)" -- Install.StripFlag += -s -+ Install.StripFlag += - endif - - ifdef TOOL_NO_EXPORTS |