Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a28daa0d
Commit
a28daa0d
authored
Jun 24, 2014
by
danh-arm
Browse files
Merge pull request #149 from sandrine-bailleux/sb/warn-missing-include-dirs
Compile with '-Wmissing-include-dirs' flag
parents
7eea1352
a0df63ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
a28daa0d
...
...
@@ -148,9 +148,7 @@ endif
.PHONY
:
all msg_start clean realclean distclean cscope locate-checkpatch checkcodebase checkpatch fiptool fip
.SUFFIXES
:
INCLUDES
+=
-Iinclude
/bl1
\
-Iinclude
/bl2
\
-Iinclude
/bl31
\
INCLUDES
+=
-Iinclude
/bl31
\
-Iinclude
/bl31/services
\
-Iinclude
/bl32
\
-Iinclude
/bl32/payloads
\
...
...
@@ -184,10 +182,12 @@ $(eval $(call assert_boolean,RESET_TO_BL31))
$(eval
$(call
add_define,RESET_TO_BL31))
ASFLAGS
+=
-nostdinc
-ffreestanding
-Wa
,--fatal-warnings
\
-Werror
-Wmissing-include-dirs
\
-mgeneral-regs-only
-D__ASSEMBLY__
\
${DEFINES}
${INCLUDES}
CFLAGS
+=
-nostdinc
-pedantic
-ffreestanding
-Wall
\
-Werror
-mgeneral-regs-only
-std
=
c99
-c
-Os
\
-Werror
-Wmissing-include-dirs
\
-mgeneral-regs-only
-std
=
c99
-c
-Os
\
${DEFINES}
${INCLUDES}
CFLAGS
+=
-ffunction-sections
-fdata-sections
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment