summaryrefslogtreecommitdiffstats
path: root/rules/xchain-kernel-uc.make
blob: 3f3c01410f3a7ca1a0324340e95c7ba7f98046af (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: xchain-kernel-uc.make,v 1.3 2003/10/28 11:12:24 mkl Exp $
#
# Copyright (C) 2003 by Marc Kleine-Budde <kleine-budde.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.
#

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

xchain-kernel-uc_get: $(STATEDIR)/xchain-kernel-uc.get

xchain-kernel-uc_get_deps = \
	$(STATEDIR)/kernel-uc.get

$(STATEDIR)/xchain-kernel-uc.get: $(xchain-kernel-uc_get_deps)
	@$(call targetinfo, $@)
	touch $@

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

xchain-kernel-uc_install: $(STATEDIR)/xchain-kernel-uc.install

$(STATEDIR)/xchain-kernel-uc.install: $(STATEDIR)/xchain-kernel-uc.get
	@$(call targetinfo, $@)
	@$(call patch_apply, $(KERNEL_UC_SOURCE), $(XCHAIN_KERNEL_BUILDDIR))
	touch $@

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

xchain-kernel-uc_clean:
	rm -rf $(STATEDIR)/xchain-kernel*

# vim: syntax=make