Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
e9b77791
Unverified
Commit
e9b77791
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1780 from pmanish87/master
Make device tree pre-processing similar to U-boot/Linux
parents
d4dcadb0
7e94a699
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-0
Makefile
make_helpers/build_macros.mk
+1
-1
make_helpers/build_macros.mk
with
2 additions
and
1 deletion
+2
-1
Makefile
View file @
e9b77791
...
...
@@ -242,6 +242,7 @@ TF_LDFLAGS += --gc-sections
TF_LDFLAGS
+=
$
(
TF_LDFLAGS_
$(ARCH)
)
DTC_FLAGS
+=
-I
dts
-O
dtb
DTC_CPPFLAGS
+=
-nostdinc
-Iinclude
-undef
-x
assembler-with-cpp
################################################################################
# Common sources and include directories
...
...
This diff is collapsed.
Click to expand it.
make_helpers/build_macros.mk
View file @
e9b77791
...
...
@@ -464,7 +464,7 @@ $(eval DTBDEP := $(patsubst %.dtb,%.d,$(DOBJ)))
$(DOBJ)
:
$(2) $(filter-out %.d
,
$(MAKEFILE_LIST)) | fdt_dirs
$
${ECHO}
" CPP
$$
<"
$(
eval
DTBS :
=
$(
addprefix
$(1)
/,
$(
call
SOURCES_TO_DTBS,
$(2)
)))
$
$(Q)
$
$(
C
PP)
$
$(CPPFLAGS)
-x
assembler-with-cpp
-MT
$(DTBS)
-MMD
-MF
$(DTSDEP)
-o
$(DPRE)
$$
<
$
$(Q)
$
$(PP)
$
$(
DTC_
CPPFLAGS)
-MT
$(DTBS)
-MMD
-MF
$(DTSDEP)
-o
$(DPRE)
$$
<
$
${ECHO}
" DTC
$$
<"
$
$(Q)
$
$(DTC)
$
$(DTC_FLAGS)
-i
fdts
-d
$(DTBDEP)
-o
$$
@
$(DPRE)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help