blob: ca787220d877b2c0187f48a3dd2b9324bd55cdac (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Michael Olbrich <m.olbrich@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_XORG_SERVER) += host-xorg-server
#
# Paths and names
#
HOST_XORG_SERVER_DIR = $(HOST_BUILDDIR)/$(XORG_SERVER)
ifdef PTXCONF_HOST_XORG_SERVER
$(STATEDIR)/autogen-tools: $(STATEDIR)/host-xorg-server.install
endif
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(STATEDIR)/host-xorg-server.get: $(STATEDIR)/xorg-server.get
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
$(STATEDIR)/host-xorg-server.extract:
@$(call targetinfo)
@$(call clean, $(HOST_XORG_SERVER_DIR))
@$(call extract, XORG_SERVER, $(HOST_BUILDDIR))
@$(call patchin, XORG_SERVER, $(HOST_XORG_SERVER_DIR))
@$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
HOST_XORG_SERVER_PATH := PATH=$(HOST_PATH)
HOST_XORG_SERVER_ENV := $(HOST_ENV)
#
# autoconf
#
HOST_XORG_SERVER_AUTOCONF := $(HOST_AUTOCONF)
$(STATEDIR)/host-xorg-server.prepare:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
$(STATEDIR)/host-xorg-server.compile:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-xorg-server.install:
@$(call targetinfo)
@cd $(HOST_XORG_SERVER_DIR) && cp xorg-server.m4 $(PTXDIST_SYSROOT_HOST)/share/aclocal/
@$(call touch)
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
host-xorg-server_clean:
rm -rf $(STATEDIR)/host-xorg-server.*
rm -rf $(HOST_XORG_SERVER_DIR)
# vim: syntax=make
|