summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-03-21 13:16:35 +0000
committerDan Handley <dan.handley@arm.com>2014-03-26 17:36:36 +0000
commit08c7ed0fe85fa66f1a0f51e9a6747e38342c66a0 (patch)
tree19cee28fb1d013420a875b626277fb617a567337 /Makefile
parent31526cb013af98b2e4bec321f5c799ebf488c037 (diff)
Build system: Remove last traces of 'PLAT=all'
It used to be possible to build all bootloader binaries for all platforms using 'PLAT=all'. This feature has been removed but there are still some traces of its existence. This patch removes them. Change-Id: Ic671a5c20c5b64acbd0a912d2e4db8f9d9574610
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 7e0179da..3aee9b91 100644
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,9 @@ BL_COMMON_SOURCES := misc_helpers.S \
ARCH ?= aarch64
-# By default, build all platforms available
-PLAT ?= fvp
+# By default, build fvp platform
+DEFAULT_PLAT := fvp
+PLAT ?= ${DEFAULT_PLAT}
# By default, build no SPD component
SPD ?= none
@@ -127,7 +128,7 @@ ifneq (${SPD},none)
# variable to "yes"
endif
-.PHONY: all msg_start ${PLATFORMS} clean realclean distclean cscope locate-checkpatch checkcodebase checkpatch fiptool fip
+.PHONY: all msg_start clean realclean distclean cscope locate-checkpatch checkcodebase checkpatch fiptool fip
.SUFFIXES:
@@ -188,12 +189,6 @@ FIPTOOL ?= ${FIPTOOLPATH}/fip_create
fiptool: ${FIPTOOL}
fip: ${BUILD_PLAT}/fip.bin
-ifeq (${PLAT},all)
- ifeq (${MAKECMDGOALS},clean)
- $(error "Please select a platform with PLAT=<platform>. You can use 'make distclean' to clean up all platform builds")
- endif
-endif
-
locate-checkpatch:
ifndef CHECKPATCH
$(error "Please set CHECKPATCH to point to the Linux checkpatch.pl file, eg: CHECKPATCH=../linux/script/checkpatch.pl")
@@ -403,9 +398,10 @@ cscope:
${Q}cscope -b -q -k
help:
- @echo "usage: ${MAKE} PLAT=<all|${HELP_PLATFORMS}> <all|bl1|bl2|bl31|distclean|clean|checkcodebase|checkpatch>"
+ @echo "usage: ${MAKE} PLAT=<${HELP_PLATFORMS}> <all|bl1|bl2|bl31|distclean|clean|checkcodebase|checkpatch>"
@echo ""
@echo "PLAT is used to specify which platform you wish to build."
+ @echo "If no platform is specified, PLAT defaults to: ${DEFAULT_PLAT}"
@echo ""
@echo "Supported Targets:"
@echo " all Build the BL1, BL2 and BL31 binaries"