aboutsummaryrefslogtreecommitdiff
path: root/package/libelf
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-06 12:51:42 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-06 12:51:42 +0000
commit1c1167cf7d30cb12048c59da2b6c1959cce515c5 (patch)
treefe2be066243c9207128d7a3a50be8036e3f96cdc /package/libelf
parentba3a8e5afda493d9cb6ce96ebd54e5124ccba760 (diff)
downloadbuildroot-1c1167cf7d30cb12048c59da2b6c1959cce515c5.tar.gz
buildroot-1c1167cf7d30cb12048c59da2b6c1959cce515c5.tar.bz2
- bump version. memmove works so let configure know about this fact
Diffstat (limited to 'package/libelf')
-rw-r--r--package/libelf/libelf.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/libelf/libelf.mk b/package/libelf/libelf.mk
index ca3608dfe8..4ff4d7a195 100644
--- a/package/libelf/libelf.mk
+++ b/package/libelf/libelf.mk
@@ -3,7 +3,7 @@
# libelf
#
#############################################################
-LIBELF_VER=0.8.5
+LIBELF_VER=0.8.9
LIBELF_SOURCE=libelf-$(LIBELF_VER).tar.gz
LIBELF_SITE=http://www.mr511.de/software/
LIBELF_DIR=$(BUILD_DIR)/libelf-$(LIBELF_VER)
@@ -16,16 +16,18 @@ endif
$(DL_DIR)/$(LIBELF_SOURCE):
$(WGET) -P $(DL_DIR) $(LIBELF_SITE)/$(LIBELF_SOURCE)
-$(LIBELF_DIR)/.source: $(DL_DIR)/$(LIBELF_SOURCE)
+$(LIBELF_DIR)/.unpacked: $(DL_DIR)/$(LIBELF_SOURCE)
$(ZCAT) $(DL_DIR)/$(LIBELF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LIBELF_DIR) package/libelf libelf\*.patch
- touch $(LIBELF_DIR)/.source
+ $(CONFIG_UPDATE) $(LIBELF_DIR)
+ touch $@
-$(LIBELF_DIR)/.configured: $(LIBELF_DIR)/.source
+$(LIBELF_DIR)/.configured: $(LIBELF_DIR)/.unpacked
(cd $(LIBELF_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
+ libelf_cv_working_memmove=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -35,13 +37,13 @@ $(LIBELF_DIR)/.configured: $(LIBELF_DIR)/.source
$(DISABLE_NLS) \
--disable-shared \
);
- touch $(LIBELF_DIR)/.configured;
+ touch $@
$(LIBELF_DIR)/libelf.so.$(LIBELF_VER): $(LIBELF_DIR)/.configured
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBELF_DIR)
$(STAGING_DIR)/usr/lib/libelf.a: $(LIBELF_DIR)/libelf.so.$(LIBELF_VER)
- $(MAKE1) $(TARGET_CONFIGURE_OPTS) ${INSTALL}="install -D" \
+ $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
instroot=$(STAGING_DIR) -C $(LIBELF_DIR) install
$(TARGET_DIR)/usr/lib/libelf.so.$(LIBELF_VER): $(STAGING_DIR)/usr/lib/libelf.a