summaryrefslogtreecommitdiff
path: root/packages/system/e2fsprogs/e2fsprogs.mk
blob: 8759bcf8a8933ad5f1db37877cf3742658082648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
################################################################################
# Embtoolkit
# Copyright(C) 2011 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         e2fsprogs.mk
# \brief	e2fsprogs.mk of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         June 2011
################################################################################

E2FSPROGS_NAME		:= e2fsprogs
E2FSPROGS_VERSION	:= $(call embtk_get_pkgversion,e2fsprogs)
E2FSPROGS_SITE		:= http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/$(E2FSPROGS_VERSION)
E2FSPROGS_SITE_MIRROR3	:= ftp://ftp.embtoolkit.org/embtoolkit.org/packages-mirror
E2FSPROGS_PACKAGE	:= e2fsprogs-$(E2FSPROGS_VERSION).tar.gz
E2FSPROGS_SRC_DIR	:= $(embtk_pkgb)/e2fsprogs-$(E2FSPROGS_VERSION)
E2FSPROGS_BUILD_DIR	:= $(embtk_pkgb)/e2fsprogs-$(E2FSPROGS_VERSION)

E2FSPROGS_BINS		:=
E2FSPROGS_SBINS		:=
E2FSPROGS_INCLUDES	:= uuid
E2FSPROGS_LIBS		:= libuuid.*
E2FSPROGS_LIBEXECS	:=
E2FSPROGS_PKGCONFIGS	:= uuid.pc

E2FSPROGS_CONFIGURE_ENV :=
E2FSPROGS_MAKE_OPTS := LDCONFIG=true
E2FSPROGS_MAKE_DIRS := lib/uuid
E2FSPROGS_CONFIGURE_OPTS := --disable-compression --disable-htree	\
		--enable-elf-shlibs --disable-bsd-shlibs		\
		--disable-profile --disable-checker --disable-jbd-debug	\
		--disable-blkid-debug --disable-testio-debug		\
		--enable-libuuid --enable-libblkid --disable-debugfs	\
		--disable-imager --disable-resizer --disable-fsck	\
		--disable-e2initrd-helper --disable-tls --disable-nls	\
		--disable-rpath --with-included-gettext

#
# E2FSPROGS for host development machine
#
E2FSPROGS_HOST_NAME		:= $(E2FSPROGS_NAME)
E2FSPROGS_HOST_VERSION		:= $(E2FSPROGS_VERSION)
E2FSPROGS_HOST_SITE		:= $(E2FSPROGS_SITE)
E2FSPROGS_HOST_SITE_MIRROR3	:= $(E2FSPROGS_SITE_MIRROR3)
E2FSPROGS_HOST_PACKAGE		:= $(E2FSPROGS_PACKAGE)
E2FSPROGS_HOST_SRC_DIR		:= $(embtk_toolsb)/e2fsprogs-$(E2FSPROGS_VERSION)
E2FSPROGS_HOST_BUILD_DIR	:= $(embtk_toolsb)/e2fsprogs-$(E2FSPROGS_VERSION)

E2FSPROGS_HOST_MAKE_OPTS	:= LDCONFIG=true
E2FSPROGS_HOST_MAKE_DIRS	:= $(E2FSPROGS_MAKE_DIRS)
E2FSPROGS_HOST_CONFIGURE_OPTS	:= $(E2FSPROGS_CONFIGURE_OPTS)