diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-03-11 16:34:57 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-03-15 09:17:08 +0100 |
commit | 311c14be1ecd5183f0ac1f94d3bf4cbcce32c26a (patch) | |
tree | 5adc4c45a177c23d32e2f3c2701464d2b18078c0 /rules/libelf.make | |
parent | 31d73d58a3e8cb50dce3f742a7f3749ba7651f79 (diff) | |
download | ptxdist-311c14be1ecd5183f0ac1f94d3bf4cbcce32c26a.tar.gz ptxdist-311c14be1ecd5183f0ac1f94d3bf4cbcce32c26a.tar.xz |
libelf: only install the backend for the own platform
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libelf.make')
-rw-r--r-- | rules/libelf.make | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/rules/libelf.make b/rules/libelf.make index ff2d1b984..f17ef6e0a 100644 --- a/rules/libelf.make +++ b/rules/libelf.make @@ -40,6 +40,11 @@ LIBELF_CONF_OPT := \ --without-bzlib \ --without-lzma +LIBELF_ARCH := $(call remove_quotes,$(PTXCONF_ARCH_STRING)) +ifdef PTXCONF_ARCH_ARM64 +LIBELF_ARCH := aarch64 +endif + # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- @@ -57,10 +62,8 @@ $(STATEDIR)/libelf.targetinstall: ifdef PTXCONF_LIBELF_LIBDW @$(call install_lib, libelf, 0, 0, 0644, libdw-$(LIBELF_VERSION)) - @$(foreach arch, i386 sh x86_64 ia64 alpha arm aarch64 sparc ppc ppc64 \ - s390 tilegx, \ - $(call install_lib, libelf, 0, 0, 0644, \ - elfutils/libebl_$(arch)-$(LIBELF_VERSION));) + @$(call install_lib, libelf, 0, 0, 0644, \ + elfutils/libebl_$(LIBELF_ARCH)-$(LIBELF_VERSION)) endif ifdef PTXCONF_LIBELF_LIBASM |