[package/busybox]: we don't support gcc 4.5.0
[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 $(INSTALL_DATA) $(HOST_BUILD_DIR)/lib/uuid/libuuid.a $(STAGING_DIR_HOST)/lib/
34 endef
35
36 define Host/Clean
37 rm -f $(STAGING_DIR_HOST)/bin/e2fsck
38 rm -f $(STAGING_DIR_HOST)/bin/tune2fs
39 endef
40
41 $(eval $(call HostBuild))
This page took 0.045181 seconds and 5 git commands to generate.