2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/genext2fs
16 PKG_MD5SUM
:=b7b6361bcce2cedff1ae437fadafe53b
18 include $(INCLUDE_DIR
)/host-build.mk
21 ( cd
$(HOST_BUILD_DIR
); \
23 --target
=$(GNU_HOST_NAME
) \
24 --host
=$(GNU_HOST_NAME
) \
25 --build
=$(GNU_HOST_NAME
) \
32 --libexecdir
=/usr
/lib \
34 --datadir=/usr
/share \
35 --localstatedir
=/var \
42 $(MAKE
) -C
$(HOST_BUILD_DIR
) \
43 CFLAGS
="$(HOST_CFLAGS) -include getline.h" \
48 install -m0755
$(HOST_BUILD_DIR
)/genext2fs
$(STAGING_DIR_HOST
)/bin
/
52 rm -f
$(STAGING_DIR_HOST
)/bin
/genext2fs
55 $(eval
$(call HostBuild
))