mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 07:15:20 +00:00
Make:Use "simply expanded" make variables.
Replace some "recursively expanded" make variables with "simply expanded" variables (i.e. replace = with :=). This has no functional impact but is more consistent and theoretically more efficient. Change-Id: Iaf33d7c8ad48464ae0d39923515d1e7f230c95c1
This commit is contained in:
parent
bb5a762c3f
commit
b169f6a9a1
2 changed files with 6 additions and 6 deletions
4
Makefile
4
Makefile
|
@ -125,10 +125,10 @@ CHECK_PATHS := ${ROOT_DIRS_TO_CHECK} ${INCLUDE_DIRS_TO_CHECK} ${LIB_DIRS_TO_CHE
|
||||||
|
|
||||||
# Verbose flag
|
# Verbose flag
|
||||||
ifeq (${V},0)
|
ifeq (${V},0)
|
||||||
Q=@
|
Q:=@
|
||||||
CHECKCODE_ARGS += --no-summary --terse
|
CHECKCODE_ARGS += --no-summary --terse
|
||||||
else
|
else
|
||||||
Q=
|
Q:=
|
||||||
endif
|
endif
|
||||||
export Q
|
export Q
|
||||||
|
|
||||||
|
|
|
@ -32,11 +32,11 @@ MAKE_HELPERS_DIRECTORY := ../../make_helpers/
|
||||||
include ${MAKE_HELPERS_DIRECTORY}build_macros.mk
|
include ${MAKE_HELPERS_DIRECTORY}build_macros.mk
|
||||||
include ${MAKE_HELPERS_DIRECTORY}build_env.mk
|
include ${MAKE_HELPERS_DIRECTORY}build_env.mk
|
||||||
|
|
||||||
PROJECT = fip_create
|
PROJECT := fip_create
|
||||||
OBJECTS = fip_create.o
|
OBJECTS := fip_create.o
|
||||||
COPIED_H_FILES := uuid.h firmware_image_package.h
|
COPIED_H_FILES := uuid.h firmware_image_package.h
|
||||||
|
|
||||||
CFLAGS = -Wall -Werror -pedantic -std=c99
|
CFLAGS := -Wall -Werror -pedantic -std=c99
|
||||||
ifeq (${DEBUG},1)
|
ifeq (${DEBUG},1)
|
||||||
CFLAGS += -g -O0 -DDEBUG
|
CFLAGS += -g -O0 -DDEBUG
|
||||||
else
|
else
|
||||||
|
@ -44,7 +44,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Only include from local directory (see comment below).
|
# Only include from local directory (see comment below).
|
||||||
INCLUDE_PATHS = -I.
|
INCLUDE_PATHS := -I.
|
||||||
|
|
||||||
CC := gcc
|
CC := gcc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue