blob: 9a681753cad2c19ade7a4d3d6b7d6c933248528b (
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
|
# -*-makefile-*-
#
# Copyright (C) 2004, 2005, 2006, 2007, 2008 by the PTXdist project
# 2009, 2010 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.
#
#
# targetinfo
#
# Print out the targetinfo line on the terminal
#
ifdef PTXDIST_QUIET
ifdef PTXDIST_FD_STDOUT
_targetinfo_opt_output := echo "started : $(PTX_COLOR_BLUE)$${target}$(PTX_COLOR_OFF)" >&$(PTXDIST_FD_STDOUT);
endif
endif
targetinfo = \
target="$(strip $(@))"; \
target="$${target\#\#*/}"; \
dep="$(strip $(notdir $^))"; \
echo "$${target} : $${dep}" >> $(DEP_OUTPUT); \
$(_targetinfo_opt_output) \
target="target: $${target\#\#*/}"; \
echo -e "\n$${target//?/-}\n$${target}\n$${target//?/-}\n"; \
# vim: syntax=make
|