CloverBootloader/BaseTools/Scripts/RunMakefileSample.mak

38 lines
775 B
Makefile
Executable File

## @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)