# 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 that are specific to the invocation # and usage of Gnu Make. ifndef VERBOSE # Be silent unless 'VERBOSE' is set on the make command line. SILENT = --silent endif ifndef ADHD_BUILD_DIR export ADHD_BUILD_DIR = $(ADHD_DIR)/build/$(BOARD) endif GAVD_ARCHIVE = $(ADHD_BUILD_DIR)/lib/gavd.a LIBS = \ -L$(ADHD_DIR)/cras/src/.libs \ $(GAVD_ARCHIVE) \ $(foreach lib,$(MY_LIBS),-l$(lib)) # mkdir: Creates a directory, and all its parents, if it does not exist. # mkdir = [ ! -d $(1) ] && \ $(MKDIR) --parents $(1) || true # remake: Gnu Make function which will create the build directory, # then build the first argument by recursively invoking make. # The recursive make is performed in the build directory. # # $(call remake,