]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Scripts/RunMakefileSample.mak
BaseTools/Scripts: Add sample makefile for use with RunMakefile.py
[mirror_edk2.git] / BaseTools / Scripts / RunMakefileSample.mak
diff --git a/BaseTools/Scripts/RunMakefileSample.mak b/BaseTools/Scripts/RunMakefileSample.mak
new file mode 100644 (file)
index 0000000..c992b44
--- /dev/null
@@ -0,0 +1,43 @@
+## @file\r
+# Sample makefile for PREBUILD or POSTBUILD action.\r
+#\r
+# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+\r
+all: show\r
+       @echo $@\r
+genc: show\r
+       @echo $@\r
+genmake: show\r
+       @echo $@\r
+modules: show\r
+       @echo $@\r
+libraries: show\r
+       @echo $@\r
+fds: show\r
+       @echo $@\r
+clean: show\r
+       @echo $@\r
+cleanall: show\r
+       @echo $@\r
+cleanlib: show\r
+       @echo $@\r
+run: show\r
+       @echo $@\r
+\r
+show:\r
+       @echo WORKSPACE........ $(WORKSPACE)\r
+       @echo PACKAGES_PATH.... $(PACKAGES_PATH)\r
+       @echo ACTIVE_PLATFORM.. $(ACTIVE_PLATFORM)\r
+       @echo TARGET_ARCH...... $(TARGET_ARCH)\r
+       @echo TOOL_CHAIN_TAG... $(TOOL_CHAIN_TAG)\r
+       @echo CONF_DIRECTORY... $(CONF_DIRECTORY)\r
+       @echo TARGET........... $(TARGET)\r
+       @echo EXTRA_FLAGS...... $(EXTRA_FLAGS)\r