X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=tools%2Fe2fsprogs%2FMakefile;h=dc4dc70aee9b4c978687d6c990141be0abbb655e;hp=e13160b2f30f45875988fb0dfef6b3b81aa20f83;hb=a7568eb87595f0097a1c4bb4e1c0ce033f7fd350;hpb=5b2df455f014d18944cfd737a5d0ba7d2e207d57 diff --git a/tools/e2fsprogs/Makefile b/tools/e2fsprogs/Makefile index e13160b2f3..dc4dc70aee 100644 --- a/tools/e2fsprogs/Makefile +++ b/tools/e2fsprogs/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010 OpenWrt.org +# Copyright (C) 2010-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=e2fsprogs -PKG_VERSION:=1.41.10 -PKG_MD5SUM:=f9c7bb5c036a119453ce02fa871038da +PKG_VERSION:=1.42.4 +PKG_MD5SUM:=b6e296f210d642361b7394437ff0f318 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -17,18 +17,23 @@ PKG_SOURCE_URL:=@SF/e2fsprogs include $(INCLUDE_DIR)/host-build.mk -TARGET_CFLAGS += $(FPIC) +HOST_CFLAGS += $(FPIC) +HOST_LDFLAGS += -static -CONFIGURE_ARGS += \ +HOST_CONFIGURE_ARGS += \ --disable-shared \ + --disable-elf-shlibs \ --enable-static \ - --disable-rpath \ - --enable-elf-shlibs \ --enable-dynamic-e2fsck \ - --disable-tls + --disable-tls \ + --disable-nls define Host/Install $(Host/Install/Default) + $(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid install + mkdir -p $(STAGING_DIR_HOST)/include/e2fsprogs + $(CP) $(STAGING_DIR_HOST)/include/uuid $(STAGING_DIR_HOST)/include/e2fsprogs/ + rm -rf $(STAGING_DIR_HOST)/include/uuid $(INSTALL_DATA) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/ endef