2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_MD5SUM
:=05f70470aea2ef7efbb0845b2b116720
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/e2fsprogs
18 include $(INCLUDE_DIR
)/host-build.mk
20 TARGET_CFLAGS
+= $(FPIC
)
27 --enable-dynamic-e2fsck \
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
/
37 rm -f
$(STAGING_DIR_HOST
)/bin
/e2fsck
38 rm -f
$(STAGING_DIR_HOST
)/bin
/tune2fs
41 $(eval
$(call HostBuild
))