Browse Source

toolchain does not need libelf

Waldemar Brodkorb 7 years ago
parent
commit
3833c6cfda
3 changed files with 3 additions and 44 deletions
  1. 3 3
      toolchain/Makefile
  2. 0 32
      toolchain/libelf/Makefile
  3. 0 9
      toolchain/libelf/Makefile.inc

+ 3 - 3
toolchain/Makefile

@@ -3,7 +3,7 @@
 
 # Steps to build toolchains
 # 1) build and install binutils
-# 2) build and install mpfr, mpc, libelf and gmp
+# 2) build and install mpfr, mpc and gmp
 # 3) build and install initial gcc
 # 4) install kernel-headers
 # 5) build and install full libc
@@ -12,7 +12,7 @@
 
 include $(ADK_TOPDIR)/rules.mk
 
-TARGETS:=binutils gmp mpfr mpc libelf
+TARGETS:=binutils gmp mpfr mpc
 
 ifeq ($(ADK_BUILD_COMPILER_GCC),y)
 TARGETS+=gcc
@@ -67,7 +67,7 @@ clean: $(TARGETS_CLEAN)
 download: $(DOWNLOAD)
 final: $(FINAL)
 
-$(COMPILER)-configure: binutils-install gmp-install mpfr-install mpc-install libelf-install
+$(COMPILER)-configure: binutils-install gmp-install mpfr-install mpc-install
 ifeq ($(ADK_TARGET_LIB_NEWLIB),y)
 $(CLIB)-install: $(COMPILER)-configure
 else

+ 0 - 32
toolchain/libelf/Makefile

@@ -1,32 +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
-include Makefile.inc
-include ../rules.mk
-include ${ADK_TOPDIR}/mk/buildhlp.mk
-
-ifeq (${ADK_MAKE_PARALLEL},y)
-LIBELF_MAKEOPTS+=		-j${ADK_MAKE_JOBS}
-endif
-
-$(WRKBUILD)/.configured:
-	(cd $(WRKBUILD); \
-		$(WRKBUILD)/configure \
-		--prefix=/usr \
-		--disable-nls \
-		--disable-compat \
-		--disable-shared \
-		--enable-static \
-	);
-	touch $@
-
-$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
-	$(MAKE) ${LIBELF_MAKEOPTS} -C $(WRKBUILD) all
-	touch $@
-
-$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
-	$(MAKE) instroot=$(STAGING_HOST_DIR) -C $(WRKBUILD) install
-	touch $@
-
-include ${ADK_TOPDIR}/mk/toolchain.mk

+ 0 - 9
toolchain/libelf/Makefile.inc

@@ -1,9 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-PKG_NAME:=		libelf
-PKG_VERSION:=		0.8.13
-PKG_RELEASE:=		1
-PKG_HASH:=		591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
-PKG_SITES:=		http://www.mr511.de/software/
-DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz