summaryrefslogtreecommitdiff
path: root/defs/utilities.mk
blob: 8bc4c0466588c444c8986c4f56f231635bbf71c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This file contains definitions of utilities which are used by the
# build system.  No utility should be used directly by-name in the
# makefiles; instead, each utility should have a definition here and
# the macro value should be used.
#
# This makes it easy to ensure there are no host OS utility
# dependencies when cross compiling.

export MKDIR	= /bin/mkdir
export AR	= /usr/bin/ar
export ECHO	= /bin/echo
export MESSAGE	= $(ECHO) "$(foreach v,$(shell seq $(MAKELEVEL))," ") [$(MAKELEVEL)] "
export INSTALL	= /usr/bin/install
export LINK	= /bin/ln