source: trunk/tools/e2fsprogs/Makefile @ 24128

Last change on this file since 24128 was 24128, checked in by acoul, 6 years ago

tools/e2fsprogs: update to e2fsprogs-1.41.12

File size: 873 bytes
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=e2fsprogs
11PKG_VERSION:=1.41.12
12PKG_MD5SUM:=1b24a21fc0c2381ef420961cbfec733f
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=@SF/e2fsprogs
17
18include $(INCLUDE_DIR)/host-build.mk
19
20TARGET_CFLAGS += $(FPIC)
21
22CONFIGURE_ARGS += \
23        --disable-shared \
24        --enable-static \
25        --disable-rpath \
26        --enable-elf-shlibs \
27        --enable-dynamic-e2fsck \
28        --disable-tls
29
30define Host/Install
31        $(Host/Install/Default)
32        $(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid install
33        $(INSTALL_DATA) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/
34endef
35
36define Host/Clean
37        rm -f $(STAGING_DIR_HOST)/bin/e2fsck
38        rm -f $(STAGING_DIR_HOST)/bin/tune2fs
39endef
40
41$(eval $(call HostBuild))
Note: See TracBrowser for help on using the repository browser.