summaryrefslogtreecommitdiffstats
path: root/rules/host-apr.make
blob: 2ef54c3a420055615320bbb53fb0748e44bc924e (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
# -*-makefile-*-
#
# Copyright (C) 2012 by Marc Kleine-Budde <mkl@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_APR) += host-apr

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
HOST_APR_CONF_TOOL	:= autoconf

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-apr.install.post:
	@$(call targetinfo)
	@$(call world/install.post, HOST_APR)
	@sed -i -e "s~@SYSROOT@~$(PTXDIST_SYSROOT_HOST)~g" \
		$(PTXDIST_SYSROOT_HOST)/build/apr_rules.mk \
		$(PTXDIST_SYSROOT_HOST)/bin/apr-config
	@$(call touch)

# vim: syntax=make