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
:=7508a192c7a9471e2128424f4eafac1c
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 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
/
40 rm -f
$(STAGING_DIR_HOST
)/bin
/e2fsck
41 rm -f
$(STAGING_DIR_HOST
)/bin
/tune2fs
44 $(eval
$(call HostBuild
))