summaryrefslogtreecommitdiffstats
path: root/rules/Virtual.make
blob: 4864b6156a72de1e2d6f1887bccea88bc6636c97 (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
# -*-makefile-*-
# $Id: Virtual.make,v 1.3 2003/10/23 15:01:19 mkl Exp $
#
# Copyright (C) 2003 by Marc Kleine-Budde <kleine-budde@gmx.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.
#

# ----------------------------------------------------------------------------
# nchain
# ----------------------------------------------------------------------------

#
# The Nativechain:
#
# Some packets; like glibc-2.3.x  need
# at least gcc-3.2 to build. Simply add a dependency to
# $(STATEDIR)/virtual-nchain.install and the hostchain gets installed.
# 

virtual-nchain_install: $(STATEDIR)/virtual-nchain.install

virtual-nchain_install_deps	= $(addprefix $(STATEDIR)/, $(addsuffix .install, $(NATIVE)))

$(STATEDIR)/virtual-nchain.install: $(virtual-nchain_install_deps)
	@$(call targetinfo, $@)
	touch $@

# ----------------------------------------------------------------------------
# xchain
# ----------------------------------------------------------------------------

virtual-xchain_install: $(STATEDIR)/virtual-xchain.install

ifdef PTXCONF_BUILD_CROSSCHAIN
virtual-xchain_install_deps	= $(STATEDIR)/xchain-gccstage2.install
endif 

$(STATEDIR)/virtual-xchain.install: $(virtual-xchain_install_deps)
	@$(call targetinfo, $@)
	touch $@