summaryrefslogtreecommitdiff
path: root/packages/system/e2fsprogs/e2fsprogs.mk
blob: d5f753b1e0598cf64c324fec0f4289fb75ebea47 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
################################################################################
# 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_PATCH_SITE	:= ftp://ftp.embtoolkit.org/embtoolkit.org/e2fsprogs/$(E2FSPROGS_VERSION)
E2FSPROGS_PACKAGE	:= e2fsprogs-$(E2FSPROGS_VERSION).tar.gz
E2FSPROGS_SRC_DIR	:= $(PACKAGES_BUILD)/e2fsprogs-$(E2FSPROGS_VERSION)
E2FSPROGS_BUILD_DIR	:= $(PACKAGES_BUILD)/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-tls	\
		--disable-nls --disable-rpath --with-included-gettext

e2fsprogs_install:
	$(call embtk_install_pkg,E2FSPROGS)

download_e2fsprogs:
	$(call embtk_download_pkg,E2FSPROGS)

e2fsprogs_clean:
	$(call embtk_cleanup_pkg,E2FSPROGS)

#
# 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_PATCH_SITE	:= $(E2FSPROGS_PATCH_SITE)
E2FSPROGS_HOST_PACKAGE		:= $(E2FSPROGS_PACKAGE)
E2FSPROGS_HOST_SRC_DIR		:= $(TOOLS_BUILD)/e2fsprogs-$(E2FSPROGS_VERSION)
E2FSPROGS_HOST_BUILD_DIR	:= $(TOOLS_BUILD)/e2fsprogs-$(E2FSPROGS_VERSION)

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

e2fsprogs_host_install:
	$(call embtk_install_hostpkg,E2FSPROGS_HOST)

download_e2fsprogs_host:
	$(call embtk_download_pkg,E2FSPROGS_HOST)

e2fsprogs_host_clean: