blob: abc7efda9cab58c3b0bc0f8b4d5523ace50b728b (
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
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Carsten Schlote <c.schlote@konzeptpark.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_ATTR) += host-attr
#
# Paths and names
#
HOST_ATTR_DIR = $(HOST_BUILDDIR)/$(ATTR)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(STATEDIR)/host-attr.get: $(STATEDIR)/attr.get
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
$(STATEDIR)/host-attr.extract:
@$(call targetinfo)
@$(call clean, $(HOST_ATTR_DIR))
@$(call extract, ATTR, $(HOST_BUILDDIR))
@$(call patchin, ATTR, $(HOST_ATTR_DIR))
@$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
HOST_ATTR_PATH := PATH=$(HOST_PATH)
HOST_ATTR_ENV := $(HOST_ENV)
#
# autoconf
#
HOST_ATTR_AUTOCONF := $(HOST_AUTOCONF)
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
host-attr_clean:
rm -rf $(STATEDIR)/host-attr.*
rm -rf $(HOST_ATTR_DIR)
# vim: syntax=make
|