blob: aa9a296ddf883da991e154187f732e39d7383533 (
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
|
# -*-makefile-*-
#
# Copyright (C) 2007 by Luotao Fu <lfu@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_GLIB) += host-glib
#
# Paths and names
#
HOST_GLIB_DIR = $(HOST_BUILDDIR)/$(GLIB)
#
# well, well, what can I say: HACK-warning
#
# this way we fool the patching not to patch us
# and the autogen_dep script, not to run autogen on us
#
HOST_GLIB = host-$(GLIB)
ifdef PTXCONF_HOST_GLIB
$(STATEDIR)/autogen-tools: $(STATEDIR)/host-glib.install.post
endif
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
HOST_GLIB_PATH := PATH=$(HOST_PATH)
HOST_GLIB_ENV := $(HOST_ENV)
#
# autoconf
#
# 'iconv' feature: configure tests for this feature in the glibc first. If not
# found it checks for iconv library in the next step. On most
# hosts 'iconv' should be present in the regular host glibc.
#
HOST_GLIB_AUTOCONF := \
$(HOST_AUTOCONF) \
--with-libiconv=gnu
# vim: syntax=make
|