summaryrefslogtreecommitdiffstats
path: root/BaseTools/Scripts/RunMakefileSample.mak
blob: f144c74fc46c5d15cbe7d76d4f8aabb05978f4df (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
## @file
# Sample makefile for PREBUILD or POSTBUILD action.
#
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#

all: show
	@echo $@
genc: show
	@echo $@
genmake: show
	@echo $@
modules: show
	@echo $@
libraries: show
	@echo $@
fds: show
	@echo $@
clean: show
	@echo $@
cleanall: show
	@echo $@
cleanlib: show
	@echo $@
run: show
	@echo $@

show:
	@echo WORKSPACE........ $(WORKSPACE)
	@echo PACKAGES_PATH.... $(PACKAGES_PATH)
	@echo ACTIVE_PLATFORM.. $(ACTIVE_PLATFORM)
	@echo TARGET_ARCH...... $(TARGET_ARCH)
	@echo TOOL_CHAIN_TAG... $(TOOL_CHAIN_TAG)
	@echo CONF_DIRECTORY... $(CONF_DIRECTORY)
	@echo TARGET........... $(TARGET)
	@echo EXTRA_FLAGS...... $(EXTRA_FLAGS)