mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
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
This commit is contained in:
parent
31526cb013
commit
08c7ed0fe8
1 changed files with 6 additions and 10 deletions
16
Makefile
16
Makefile
|
@ -70,8 +70,9 @@ BL_COMMON_SOURCES := misc_helpers.S \
|
||||||
|
|
||||||
ARCH ?= aarch64
|
ARCH ?= aarch64
|
||||||
|
|
||||||
# By default, build all platforms available
|
# By default, build fvp platform
|
||||||
PLAT ?= fvp
|
DEFAULT_PLAT := fvp
|
||||||
|
PLAT ?= ${DEFAULT_PLAT}
|
||||||
# By default, build no SPD component
|
# By default, build no SPD component
|
||||||
SPD ?= none
|
SPD ?= none
|
||||||
|
|
||||||
|
@ -127,7 +128,7 @@ ifneq (${SPD},none)
|
||||||
# variable to "yes"
|
# variable to "yes"
|
||||||
endif
|
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:
|
.SUFFIXES:
|
||||||
|
|
||||||
|
|
||||||
|
@ -188,12 +189,6 @@ FIPTOOL ?= ${FIPTOOLPATH}/fip_create
|
||||||
fiptool: ${FIPTOOL}
|
fiptool: ${FIPTOOL}
|
||||||
fip: ${BUILD_PLAT}/fip.bin
|
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:
|
locate-checkpatch:
|
||||||
ifndef CHECKPATCH
|
ifndef CHECKPATCH
|
||||||
$(error "Please set CHECKPATCH to point to the Linux checkpatch.pl file, eg: CHECKPATCH=../linux/script/checkpatch.pl")
|
$(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
|
${Q}cscope -b -q -k
|
||||||
|
|
||||||
help:
|
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 ""
|
||||||
@echo "PLAT is used to specify which platform you wish to build."
|
@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 ""
|
||||||
@echo "Supported Targets:"
|
@echo "Supported Targets:"
|
||||||
@echo " all Build the BL1, BL2 and BL31 binaries"
|
@echo " all Build the BL1, BL2 and BL31 binaries"
|
||||||
|
|
Loading…
Add table
Reference in a new issue