diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-10 18:39:28 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-13 10:06:41 +0200 |
commit | d93378bf3c8d8130de38747c204a7fda4ba1e557 (patch) | |
tree | ca66b330c4ac614a4e28b59ad3b636777980b529 | |
parent | ed43b901352743a8ed3d5141a66db3608f44d300 (diff) | |
download | OSELAS.Toolchain-d93378bf3c8d8130de38747c204a7fda4ba1e557.tar.gz OSELAS.Toolchain-d93378bf3c8d8130de38747c204a7fda4ba1e557.tar.xz |
host-libelf: new packages needed for gcc >= 4.5
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | Kconfig | 1 | ||||
-rw-r--r-- | rules/cross-gcc.in | 10 | ||||
-rw-r--r-- | rules/host-libelf.in | 2 | ||||
-rw-r--r-- | rules/host-libelf.make | 42 | ||||
-rw-r--r-- | rules/libelf.make | 1 |
5 files changed, 56 insertions, 0 deletions
@@ -72,6 +72,7 @@ source "workspace/rules/host-gmp.in" source "workspace/rules/host-mpc.in" source "workspace/rules/host-mpfr.in" source "workspace/rules/host-zlib.in" +source "workspace/rules/host-libelf.in" comment "----------------------------------" diff --git a/rules/cross-gcc.in b/rules/cross-gcc.in index 059268f..4d28783 100644 --- a/rules/cross-gcc.in +++ b/rules/cross-gcc.in @@ -9,6 +9,7 @@ menuconfig CROSS_GCC select HOST_MPFR if CROSS_GCC_43 select HOST_MPC if CROSS_GCC_43 select HOST_ZLIB if CROSS_GCC_43 + select HOST_LIBELF if CROSS_GCC_45 select CROSS_ECJ if CROSS_GCC_LANG_JAVA if CROSS_GCC @@ -31,6 +32,14 @@ config CROSS_GCC_43 help Add new dependencies for gcc >= 4.3: "GMP" and "MPFR" +config CROSS_GCC_45 + bool + prompt "additional deps for gcc >= 4.5" + select CROSS_GCC_43 + default y + help + Add new dependencies for gcc >= 4.5: "libelf" + config CROSS_GCC_SERIES string default "series" @@ -177,4 +186,5 @@ config CROSS_GCC_FIRST select HOST_MPFR if CROSS_GCC_43 select HOST_MPC if CROSS_GCC_43 select HOST_ZLIB if CROSS_GCC_43 + select HOST_LIBELF if CROSS_GCC_45 diff --git a/rules/host-libelf.in b/rules/host-libelf.in new file mode 100644 index 0000000..d4bc694 --- /dev/null +++ b/rules/host-libelf.in @@ -0,0 +1,2 @@ +config HOST_LIBELF + bool diff --git a/rules/host-libelf.make b/rules/host-libelf.make new file mode 100644 index 0000000..f79ea20 --- /dev/null +++ b/rules/host-libelf.make @@ -0,0 +1,42 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_LIBELF) += host-libelf + +# +# Paths and names +# +HOST_LIBELF_VERSION := 0.8.13 +HOST_LIBELF_MD5 := 4136d7b4c04df68b686570afa26988ac +HOST_LIBELF := libelf-$(HOST_LIBELF_VERSION) +HOST_LIBELF_SUFFIX := tar.gz +HOST_LIBELF_URL := http://www.mr511.de/software/$(HOST_LIBELF).$(HOST_LIBELF_SUFFIX) +HOST_LIBELF_SOURCE := $(SRCDIR)/$(HOST_LIBELF).$(HOST_LIBELF_SUFFIX) +HOST_LIBELF_DIR := $(HOST_BUILDDIR)/$(HOST_LIBELF) +HOST_LIBELF_LICENSE := LGPL + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_LIBELF_AUTOCONF := \ + $(PTX_HOST_AUTOCONF) \ + --disable-shared \ + --enable-elf64 + +HOST_LIBELF_DEVPKG := NO + +# vim: syntax=make diff --git a/rules/libelf.make b/rules/libelf.make new file mode 100644 index 0000000..04e0b0b --- /dev/null +++ b/rules/libelf.make @@ -0,0 +1 @@ +# this file is left intentionally blank |