[tools] automake: forcibly disable perl ithreads support
[openwrt.git] / tools / e2fsprogs / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=e2fsprogs
11 PKG_VERSION:=1.41.13
12 PKG_MD5SUM:=7508a192c7a9471e2128424f4eafac1c
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/e2fsprogs
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 TARGET_CFLAGS += $(FPIC)
21
22 CONFIGURE_ARGS += \
23 --disable-shared \
24 --enable-static \
25 --disable-rpath \
26 --enable-elf-shlibs \
27 --enable-dynamic-e2fsck \
28 --disable-tls
29
30 define Host/Install
31 $(Host/Install/Default)
32 $(MAKE) -C $(HOST_BUILD_DIR)/lib/uuid install
33 mkdir -p $(STAGING_DIR_HOST)/include/e2fsprogs
34 $(CP) $(STAGING_DIR_HOST)/include/uuid $(STAGING_DIR_HOST)/include/e2fsprogs/
35 rm -rf $(STAGING_DIR_HOST)/include/uuid
36 $(INSTALL_DATA) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/
37 endef
38
39 define Host/Clean
40 rm -f $(STAGING_DIR_HOST)/bin/e2fsck
41 rm -f $(STAGING_DIR_HOST)/bin/tune2fs
42 endef
43
44 $(eval $(call HostBuild))
This page took 0.048563 seconds and 5 git commands to generate.