blob: a5a3a78e9a7a4ec772e4306d72c5f3dc8beeee84 [file] [log] [blame]
Achin Gupta4f6ad662013-10-25 09:08:21 +01001#
Dan Handleye83b0ca2014-01-14 18:17:09 +00002# Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
Achin Gupta4f6ad662013-10-25 09:08:21 +01003#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are met:
6#
7# Redistributions of source code must retain the above copyright notice, this
8# list of conditions and the following disclaimer.
9#
10# Redistributions in binary form must reproduce the above copyright notice,
11# this list of conditions and the following disclaimer in the documentation
12# and/or other materials provided with the distribution.
13#
14# Neither the name of ARM nor the names of its contributors may be used
15# to endorse or promote products derived from this software without specific
16# prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28# POSSIBILITY OF SUCH DAMAGE.
29#
30
31# Decrease the verbosity of the make script
32# can be made verbose by passing V=1 at the make command line
33ifdef V
James Morrisseyeaaeece2013-11-01 13:56:59 +000034 KBUILD_VERBOSE = ${V}
Achin Gupta4f6ad662013-10-25 09:08:21 +010035else
36 KBUILD_VERBOSE = 0
37endif
38
Achin Gupta7421b462014-02-01 18:53:26 +000039# Checkpatch ignores
40CHECK_IGNORE = --ignore COMPLEX_MACRO
41
42CHECKPATCH_ARGS = --no-tree --no-signoff ${CHECK_IGNORE}
43CHECKCODE_ARGS = --no-patch --no-tree --no-signoff ${CHECK_IGNORE}
Ian Spray36eaaf32014-01-30 17:25:28 +000044
James Morrisseyeaaeece2013-11-01 13:56:59 +000045ifeq "${KBUILD_VERBOSE}" "0"
Achin Gupta4f6ad662013-10-25 09:08:21 +010046 Q=@
Ian Spray36eaaf32014-01-30 17:25:28 +000047 CHECKCODE_ARGS += --no-summary --terse
Achin Gupta4f6ad662013-10-25 09:08:21 +010048else
49 Q=
50endif
51
52DEBUG ?= 0
James Morrisseyeaaeece2013-11-01 13:56:59 +000053
54ifneq (${DEBUG}, 0)
55 BUILD_TYPE := debug
56else
57 BUILD_TYPE := release
58endif
59
Ryan Harkind7a6b0f2014-01-13 14:40:13 +000060BL_COMMON_OBJS := misc_helpers.o \
61 cache_helpers.o \
62 tlb_helpers.o \
Achin Guptaa0cd9892014-02-09 13:30:38 +000063 xlat_helpers.o \
Ryan Harkind7a6b0f2014-01-13 14:40:13 +000064 std.o \
65 bl_common.o \
James Morrisseyf2f9bb52014-02-10 16:18:59 +000066 platform_helpers.o \
67 io_storage.o
Ryan Harkind7a6b0f2014-01-13 14:40:13 +000068
Ryan Harkin25cff832014-01-13 12:37:03 +000069ARCH ?= aarch64
Achin Gupta4f6ad662013-10-25 09:08:21 +010070
Ryan Harkin25cff832014-01-13 12:37:03 +000071# By default, build all platforms available
72PLAT ?= all
Achin Gupta4f6ad662013-10-25 09:08:21 +010073
Ryan Harkin25cff832014-01-13 12:37:03 +000074BUILD_BASE := ./build
75BUILD_PLAT := ${BUILD_BASE}/${PLAT}/${BUILD_TYPE}
76BUILD_BL1 := ${BUILD_PLAT}/bl1
77BUILD_BL2 := ${BUILD_PLAT}/bl2
78BUILD_BL31 := ${BUILD_PLAT}/bl31
79BUILD_DIRS := ${BUILD_BL1} ${BUILD_BL2} ${BUILD_BL31}
Achin Gupta4f6ad662013-10-25 09:08:21 +010080
Ryan Harkin25cff832014-01-13 12:37:03 +000081PLATFORMS := $(shell ls -I common plat/)
Ryan Harkin72ee3312014-01-15 16:55:07 +000082HELP_PLATFORMS := $(shell echo ${PLATFORMS} | sed 's/ /|/g')
83
Ryan Harkin25cff832014-01-13 12:37:03 +000084ifeq (${PLAT},)
85 $(error "Error: Unknown platform. Please use PLAT=<platform name> to specify the platform.")
86endif
87ifeq ($(findstring ${PLAT},${PLATFORMS} all),)
88 $(error "Error: Invalid platform. The following platforms are available: ${PLATFORMS}")
89endif
90
91ifeq (${PLAT},all)
92all: ${PLATFORMS}
93else
Harry Liebelf58ad362014-01-10 18:00:33 +000094all: msg_start bl1 bl2 bl31 fip
Ryan Harkin25cff832014-01-13 12:37:03 +000095endif
Achin Gupta4f6ad662013-10-25 09:08:21 +010096
Ryan Harkin25cff832014-01-13 12:37:03 +000097msg_start:
98 @echo "Building ${PLAT}"
Achin Gupta4f6ad662013-10-25 09:08:21 +010099
Ryan Harkin25cff832014-01-13 12:37:03 +0000100${PLATFORMS}:
101 ${MAKE} PLAT=$@ all
Achin Gupta4f6ad662013-10-25 09:08:21 +0100102
Ryan Harkin25cff832014-01-13 12:37:03 +0000103ifneq (${PLAT},all)
104 $(info Including ${PLAT}/platform.mk)
105 include plat/${PLAT}/platform.mk
106 $(info Including bl1.mk)
107 include bl1/bl1.mk
108 $(info Including bl2.mk)
109 include bl2/bl2.mk
110 $(info Including bl31.mk)
111 include bl31/bl31.mk
112endif
Achin Gupta4f6ad662013-10-25 09:08:21 +0100113
Harry Liebelf58ad362014-01-10 18:00:33 +0000114.PHONY: all msg_start ${PLATFORMS} dump clean realclean distclean bl1 bl2 bl31 cscope locate-checkpatch checkcodebase checkpatch fiptool fip locate-bl33
James Morrisseyeaaeece2013-11-01 13:56:59 +0000115.SUFFIXES:
116
117
Ryan Harkin25cff832014-01-13 12:37:03 +0000118BL1_OBJS := $(addprefix ${BUILD_BL1}/,${BL1_OBJS} ${BL_COMMON_OBJS} ${PLAT_BL_COMMON_OBJS})
119BL2_OBJS := $(addprefix ${BUILD_BL2}/,${BL2_OBJS} ${BL_COMMON_OBJS} ${PLAT_BL_COMMON_OBJS})
120BL31_OBJS := $(addprefix ${BUILD_BL31}/,${BL31_OBJS} ${BL_COMMON_OBJS} ${PLAT_BL_COMMON_OBJS})
James Morrisseyeaaeece2013-11-01 13:56:59 +0000121BL1_MAPFILE := $(addprefix ${BUILD_BL1}/,${BL1_MAPFILE})
122BL2_MAPFILE := $(addprefix ${BUILD_BL2}/,${BL2_MAPFILE})
123BL31_MAPFILE := $(addprefix ${BUILD_BL31}/,${BL31_MAPFILE})
124BL1_LINKERFILE := $(addprefix ${BUILD_BL1}/,${BL1_LINKERFILE})
125BL2_LINKERFILE := $(addprefix ${BUILD_BL2}/,${BL2_LINKERFILE})
126BL31_LINKERFILE := $(addprefix ${BUILD_BL31}/,${BL31_LINKERFILE})
Achin Gupta4f6ad662013-10-25 09:08:21 +0100127
James Morrisseyf2f9bb52014-02-10 16:18:59 +0000128
Ryan Harkind7a6b0f2014-01-13 14:40:13 +0000129INCLUDES += -Ilib/include/ \
James Morrisseyf2f9bb52014-02-10 16:18:59 +0000130 -Idrivers/io \
Ryan Harkind7a6b0f2014-01-13 14:40:13 +0000131 -Iinclude/${ARCH}/ \
132 -Iinclude/ \
133 -Iarch/system/gic \
Achin Gupta0a9f7472014-02-09 17:48:12 +0000134 -Iservices/psci \
Ryan Harkind7a6b0f2014-01-13 14:40:13 +0000135 -Iinclude/stdlib \
136 -Iinclude/stdlib/sys \
137 -Iplat/${PLAT} \
138 ${PLAT_INCLUDES}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100139
Harry Liebel0af6d642013-12-20 18:51:12 +0000140ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
Sandrine Bailleuxdf64a552014-02-11 13:31:33 +0000141 -mgeneral-regs-only -D__ASSEMBLY__ ${INCLUDES} \
142 -DDEBUG=${DEBUG}
Harry Liebel4f603682014-01-14 18:11:48 +0000143CFLAGS := -nostdinc -pedantic -ffreestanding -Wall \
144 -Werror -mgeneral-regs-only -std=c99 -c -Os \
145 -DDEBUG=${DEBUG} ${INCLUDES} ${CFLAGS}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100146
Sandrine Bailleux3e850a82013-11-20 11:50:48 +0000147LDFLAGS += --fatal-warnings -O1
James Morrisseyeaaeece2013-11-01 13:56:59 +0000148BL1_LDFLAGS := -Map=${BL1_MAPFILE} --script ${BL1_LINKERFILE} --entry=${BL1_ENTRY_POINT}
149BL2_LDFLAGS := -Map=${BL2_MAPFILE} --script ${BL2_LINKERFILE} --entry=${BL2_ENTRY_POINT}
150BL31_LDFLAGS := -Map=${BL31_MAPFILE} --script ${BL31_LINKERFILE} --entry=${BL31_ENTRY_POINT}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100151
152
153vpath %.ld.S bl1:bl2:bl31
154vpath %.c bl1:bl2:bl31
155vpath %.c bl1/${ARCH}:bl2/${ARCH}:bl31/${ARCH}
156vpath %.S bl1/${ARCH}:bl2/${ARCH}:bl31/${ARCH}
157
158
James Morrisseyeaaeece2013-11-01 13:56:59 +0000159ifneq (${DEBUG}, 0)
Achin Gupta4f6ad662013-10-25 09:08:21 +0100160#CFLAGS += -g -O0
161CFLAGS += -g
162# -save-temps -fverbose-asm
163ASFLAGS += -g -Wa,--gdwarf-2
James Morrissey40a6f642014-02-10 14:24:36 +0000164else
165CFLAGS += -DNDEBUG=1
Achin Gupta4f6ad662013-10-25 09:08:21 +0100166endif
167
168
James Morrisseyeaaeece2013-11-01 13:56:59 +0000169CC := ${CROSS_COMPILE}gcc
170CPP := ${CROSS_COMPILE}cpp
171AS := ${CROSS_COMPILE}gcc
172AR := ${CROSS_COMPILE}ar
173LD := ${CROSS_COMPILE}ld
174OC := ${CROSS_COMPILE}objcopy
175OD := ${CROSS_COMPILE}objdump
176NM := ${CROSS_COMPILE}nm
177PP := ${CROSS_COMPILE}gcc -E ${CFLAGS}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100178
179
Ryan Harkin25cff832014-01-13 12:37:03 +0000180bl1: ${BUILD_BL1} ${BUILD_PLAT}/bl1.bin
181bl2: ${BUILD_BL2} ${BUILD_PLAT}/bl2.bin
182bl31: ${BUILD_BL31} ${BUILD_PLAT}/bl31.bin
Achin Gupta4f6ad662013-10-25 09:08:21 +0100183
Ian Spray36eaaf32014-01-30 17:25:28 +0000184BASE_COMMIT ?= origin/master
185
Harry Liebelf58ad362014-01-10 18:00:33 +0000186# Variables for use with Firmware Image Package
187FIPTOOLPATH ?= tools/fip_create
188FIPTOOL ?= ${FIPTOOLPATH}/fip_create
189fiptool: ${FIPTOOL}
190fip: ${BUILD_PLAT}/fip.bin
191
Ryan Harkin25cff832014-01-13 12:37:03 +0000192ifeq (${PLAT},all)
193 ifeq (${MAKECMDGOALS},clean)
194 $(error "Please select a platform with PLAT=<platform>. You can use 'make distclean' to clean up all platform builds")
195 endif
196endif
Ian Spray36eaaf32014-01-30 17:25:28 +0000197
198locate-checkpatch:
199ifndef CHECKPATCH
200 $(error "Please set CHECKPATCH to point to the Linux checkpatch.pl file, eg: CHECKPATCH=../linux/script/checkpatch.pl")
201else
202ifeq (,$(wildcard ${CHECKPATCH}))
203 $(error "The file CHECKPATCH points to cannot be found, use eg: CHECKPATCH=../linux/script/checkpatch.pl")
204endif
205endif
206
Harry Liebelf58ad362014-01-10 18:00:33 +0000207locate-bl33:
208ifndef BL33
209 $(error "Please set BL33 to point to the Normal World binary, eg: BL33=../uefi/FVP_AARCH64_EFI.fd")
210else
211ifeq (,$(wildcard ${BL33}))
212 $(error "The file BL33 points to cannot be found (${BL33})")
213endif
214endif
215
216
Achin Gupta4f6ad662013-10-25 09:08:21 +0100217clean:
218 @echo " CLEAN"
Ryan Harkin25cff832014-01-13 12:37:03 +0000219 ${Q}rm -rf ${BUILD_PLAT}
Harry Liebelf58ad362014-01-10 18:00:33 +0000220 ${Q}make -C ${FIPTOOLPATH} clean
Achin Gupta4f6ad662013-10-25 09:08:21 +0100221
James Morrisseyeaaeece2013-11-01 13:56:59 +0000222realclean distclean:
223 @echo " REALCLEAN"
224 ${Q}rm -rf ${BUILD_BASE}
Joakim Bech35fab8c2014-01-23 14:51:49 +0100225 ${Q}rm -f ${CURDIR}/cscope.*
Harry Liebelf58ad362014-01-10 18:00:33 +0000226 ${Q}make -C ${FIPTOOLPATH} clean
Achin Gupta4f6ad662013-10-25 09:08:21 +0100227
228dump:
229 @echo " OBJDUMP"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000230 ${Q}${OD} -d ${BUILD_BL1}/bl1.elf > ${BUILD_BL1}/bl1.dump
231 ${Q}${OD} -d ${BUILD_BL2}/bl2.elf > ${BUILD_BL2}/bl2.dump
232 ${Q}${OD} -d ${BUILD_BL31}/bl31.elf > ${BUILD_BL31}/bl31.dump
233
Ian Spray36eaaf32014-01-30 17:25:28 +0000234checkcodebase: locate-checkpatch
235 @echo " CHECKING STYLE"
236 @if test -d .git ; then \
237 git ls-files | while read GIT_FILE ; do ${CHECKPATCH} ${CHECKCODE_ARGS} -f $$GIT_FILE ; done ; \
238 else \
239 find . -type f -not -iwholename "*.git*" -not -iwholename "*build*" -exec ${CHECKPATCH} ${CHECKCODE_ARGS} -f {} \; ; \
240 fi
241
242checkpatch: locate-checkpatch
243 @echo " CHECKING STYLE"
244 @git format-patch --stdout ${BASE_COMMIT} | ${CHECKPATCH} ${CHECKPATCH_ARGS} - || true
245
Harry Liebelf58ad362014-01-10 18:00:33 +0000246${FIPTOOL}:
247 @echo " BUILDING FIRMWARE IMAGE PACKAGE TOOL $@"
248 @echo
249 ${Q}make -C ${FIPTOOLPATH}
250 @echo
251
James Morrisseyeaaeece2013-11-01 13:56:59 +0000252${BUILD_DIRS}:
253 ${Q}mkdir -p "$@"
Achin Gupta4f6ad662013-10-25 09:08:21 +0100254
James Morrisseyeaaeece2013-11-01 13:56:59 +0000255
256${BUILD_BL1}/%.o: %.S
257 @echo " AS $<"
258 ${Q}${AS} ${ASFLAGS} -c $< -o $@
259
260${BUILD_BL2}/%.o: %.S
261 @echo " AS $<"
262 ${Q}${AS} ${ASFLAGS} -c $< -o $@
263
264${BUILD_BL31}/%.o: %.S
Achin Gupta4f6ad662013-10-25 09:08:21 +0100265 @echo " AS $<"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000266 ${Q}${AS} ${ASFLAGS} -c $< -o $@
267
268${BUILD_BL1}/%.o: %.c
269 @echo " CC $<"
270 ${Q}${CC} ${CFLAGS} -c $< -o $@
271
272${BUILD_BL2}/%.o: %.c
273 @echo " CC $<"
274 ${Q}${CC} ${CFLAGS} -c $< -o $@
Achin Gupta4f6ad662013-10-25 09:08:21 +0100275
James Morrisseyeaaeece2013-11-01 13:56:59 +0000276${BUILD_BL31}/%.o: %.c
Achin Gupta4f6ad662013-10-25 09:08:21 +0100277 @echo " CC $<"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000278 ${Q}${CC} ${CFLAGS} -c $< -o $@
279
280${BUILD_BL1}/%.ld: %.ld.S
Ryan Harkin25cff832014-01-13 12:37:03 +0000281 @echo " PP $<"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000282 ${Q}${AS} ${ASFLAGS} -P -E $< -o $@
283
284${BUILD_BL2}/%.ld: %.ld.S
Ryan Harkin25cff832014-01-13 12:37:03 +0000285 @echo " PP $<"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000286 ${Q}${AS} ${ASFLAGS} -P -E $< -o $@
Achin Gupta4f6ad662013-10-25 09:08:21 +0100287
James Morrisseyeaaeece2013-11-01 13:56:59 +0000288${BUILD_BL31}/%.ld: %.ld.S
Ryan Harkin25cff832014-01-13 12:37:03 +0000289 @echo " PP $<"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000290 ${Q}${AS} ${ASFLAGS} -P -E $< -o $@
Achin Gupta4f6ad662013-10-25 09:08:21 +0100291
292
James Morrisseyeaaeece2013-11-01 13:56:59 +0000293${BUILD_BL1}/bl1.elf: ${BL1_OBJS} ${BL1_LINKERFILE}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100294 @echo " LD $@"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000295 ${Q}${LD} -o $@ ${LDFLAGS} ${BL1_LDFLAGS} ${BL1_OBJS}
296
297${BUILD_BL2}/bl2.elf: ${BL2_OBJS} ${BL2_LINKERFILE}
298 @echo " LD $@"
299 ${Q}${LD} -o $@ ${LDFLAGS} ${BL2_LDFLAGS} ${BL2_OBJS}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100300
James Morrisseyeaaeece2013-11-01 13:56:59 +0000301${BUILD_BL31}/bl31.elf: ${BL31_OBJS} ${BL31_LINKERFILE}
Achin Gupta4f6ad662013-10-25 09:08:21 +0100302 @echo " LD $@"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000303 ${Q}${LD} -o $@ ${LDFLAGS} ${BL31_LDFLAGS} ${BL31_OBJS}
304
Ryan Harkin25cff832014-01-13 12:37:03 +0000305${BUILD_PLAT}/bl1.bin: ${BUILD_BL1}/bl1.elf
306 @echo " BIN $@"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000307 ${Q}${OC} -O binary $< $@
308 @echo
Achin Gupta4f6ad662013-10-25 09:08:21 +0100309 @echo "Built $@ successfully"
310 @echo
311
Ryan Harkin25cff832014-01-13 12:37:03 +0000312${BUILD_PLAT}/bl2.bin: ${BUILD_BL2}/bl2.elf
313 @echo " BIN $@"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000314 ${Q}${OC} -O binary $< $@
315 @echo
Achin Gupta4f6ad662013-10-25 09:08:21 +0100316 @echo "Built $@ successfully"
317 @echo
318
Ryan Harkin25cff832014-01-13 12:37:03 +0000319${BUILD_PLAT}/bl31.bin: ${BUILD_BL31}/bl31.elf
320 @echo " BIN $@"
James Morrisseyeaaeece2013-11-01 13:56:59 +0000321 ${Q}${OC} -O binary $< $@
322 @echo
323 @echo "Built $@ successfully"
324 @echo
Ryan Harkin72ee3312014-01-15 16:55:07 +0000325
Harry Liebelf58ad362014-01-10 18:00:33 +0000326${BUILD_PLAT}/fip.bin: bl2 bl31 locate-bl33 ${FIPTOOL}
327 @echo " CREATE FIRMWARE IMAGE PACKAGE $@"
328 @echo
329 ${Q}${FIPTOOL} --dump \
330 --bl2 ${BUILD_PLAT}/bl2.bin \
331 --bl31 ${BUILD_PLAT}/bl31.bin \
332 --bl33 ${BL33} \
333 $@
334 @echo
335
336
Joakim Bech35fab8c2014-01-23 14:51:49 +0100337cscope:
338 @echo " CSCOPE"
339 ${Q}find ${CURDIR} -name "*.[chsS]" > cscope.files
340 ${Q}cscope -b -q -k
341
Ryan Harkin72ee3312014-01-15 16:55:07 +0000342help:
Ian Spray36eaaf32014-01-30 17:25:28 +0000343 @echo "usage: ${MAKE} PLAT=<all|${HELP_PLATFORMS}> <all|bl1|bl2|bl31|distclean|clean|checkcodebase|checkpatch|dump>"
Ryan Harkin72ee3312014-01-15 16:55:07 +0000344 @echo ""
345 @echo "PLAT is used to specify which platform you wish to build."
346 @echo ""
347 @echo "Supported Targets:"
Ian Spray36eaaf32014-01-30 17:25:28 +0000348 @echo " all Build the BL1, BL2 and BL31 binaries"
349 @echo " bl1 Build the BL1 binary"
350 @echo " bl2 Build the BL2 binary"
351 @echo " bl31 Build the BL31 binary"
352 @echo " checkcodebase Check the coding style of the entire source tree"
353 @echo " checkpatch Check the coding style on changes in the current"
354 @echo " branch against BASE_COMMIT (default origin/master)"
355 @echo " clean Clean the build for the selected platform"
Harry Liebelf58ad362014-01-10 18:00:33 +0000356 @echo " cscope Generate cscope index"
Ian Spray36eaaf32014-01-30 17:25:28 +0000357 @echo " distclean Remove all build artifacts for all platforms"
358 @echo " dump Generate object file dumps"
Harry Liebelf58ad362014-01-10 18:00:33 +0000359 @echo " fiptool Build the Firmware Image Package(FIP) creation tool"
Ryan Harkin72ee3312014-01-15 16:55:07 +0000360 @echo ""
361 @echo "note: most build targets require PLAT to be set to a specific platform."
362 @echo ""
363 @echo "example: build all targets for the FVP platform:"
364 @echo " CROSS_COMPILE=aarch64-none-elf- make PLAT=fvp all"