summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-07-15 22:18:52 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-07-15 22:18:52 +0000
commit833d76fa1587f2876e772059837f8193342fec3e (patch)
treea73c73ceeab09ef67515a584b3acc1fa55a1460d
parent24d6e35ef07064c8e8c40d65ce1bfd929fdb62f9 (diff)
downloadptxdist-833d76fa1587f2876e772059837f8193342fec3e.tar.gz
ptxdist-833d76fa1587f2876e772059837f8193342fec3e.tar.xz
[libelf] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10960 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/libelf.in3
-rw-r--r--rules/libelf.make10
2 files changed, 8 insertions, 5 deletions
diff --git a/rules/libelf.in b/rules/libelf.in
index 85860f1ae..5e9b19d86 100644
--- a/rules/libelf.in
+++ b/rules/libelf.in
@@ -1,8 +1,11 @@
## SECTION=system_libraries
+
config LIBELF
tristate
prompt "libelf"
help
+ an ELF object file access library
+
The elf library provides routines to access, and manipulate,
Elf object files. It is still not complete, but is required
for a number of programs, such as Eli (a state of the art
diff --git a/rules/libelf.make b/rules/libelf.make
index fcfaeabb2..c35e6e506 100644
--- a/rules/libelf.make
+++ b/rules/libelf.make
@@ -1,7 +1,6 @@
# -*-makefile-*-
-# $Id: template-make 8785 2008-08-26 07:48:06Z wsa $
#
-# Copyright (C) 2006, 2008 by Marc Kleine-Budde <mkl@pengutronix.de>
+# Copyright (C) 2006, 2008, 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -43,7 +42,8 @@ LIBELF_ENV := \
ac_cv_func_mmap_fixed_mapped=yes \
libelf_cv_working_memmove=yes \
mr_cv_coffee_machine='author is a tee drinker'
-LIBELF_MAKEVARS := instroot=$(SYSROOT)
+
+LIBELF_MAKEVARS := instroot=$(PKGDIR)/$(LIBELF)
#
# autoconf
@@ -69,8 +69,8 @@ $(STATEDIR)/libelf.targetinstall:
@$(call install_fixup, libelf,DEPENDS,)
@$(call install_fixup, libelf,DESCRIPTION,missing)
- @$(call install_copy, libelf, 0, 0, 0644, \
- $(LIBELF_DIR)/lib/libelf.so.0.8.10, /usr/lib/libelf.so.0.8.10)
+ @$(call install_copy, libelf, 0, 0, 0644, -, \
+ /usr/lib/libelf.so.0.8.10)
@$(call install_link, libelf, libelf.so.0.8.10, /usr/lib/libelf.so.0)
@$(call install_link, libelf, libelf.so.0.8.10, /usr/lib/libelf.so)