blob: da146997f04ed853027cbc906c6e86954cb0f87a (
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
|
# -*-makefile-*-
#
# Copyright (C) 2009 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_TIMEOUT) += host-timeout
#
# Paths and names
#
HOST_TIMEOUT_DIR = $(HOST_BUILDDIR)/$(TIMEOUT)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
HOST_TIMEOUT_PATH := PATH=$(HOST_PATH)
HOST_TIMEOUT_ENV := $(HOST_ENV)
$(STATEDIR)/host-timeout.prepare:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
$(STATEDIR)/host-timeout.compile:
@$(call targetinfo)
cd $(HOST_TIMEOUT_DIR)/src/misc && $(HOST_TIMEOUT_PATH) $(MAKE) $(PARALLELMFLAGS_BROKEN) ../../bin/timeout
@$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-timeout.install:
@$(call targetinfo)
$(INSTALL) -m 755 -D $(HOST_TIMEOUT_DIR)/bin/timeout $(PTXCONF_SYSROOT_HOST)/bin/timeout
@$(call touch)
# vim: syntax=make
|