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
4504ab2b
Unverified
Commit
4504ab2b
authored
Mar 01, 2018
by
davidcunado-arm
Committed by
GitHub
Mar 01, 2018
Browse files
Merge pull request #1291 from dp-arm/dp/mk
Revert "Make all build results depend on all makefiles"
parents
fdcc08af
a574bfbc
Changes
1
Show whitespace changes
Inline
Side-by-side
make_helpers/build_macros.mk
View file @
4504ab2b
...
...
@@ -199,7 +199,7 @@ $(eval OBJ := $(1)/$(patsubst %.c,%.o,$(notdir $(2))))
$(eval DEP
:
= $(patsubst %.o
,
%.d
,
$(OBJ)))
$(eval IMAGE
:
= IMAGE_BL$(call uppercase
,
$(3)))
$(OBJ)
:
$(2)
$(MAKEFILE_LIST)
| bl$(3)_dirs
$(OBJ)
:
$(2) | bl$(3)_dirs
@
echo
" CC
$$
<"
$
$(Q)
$
$(CC)
$
$(TF_CFLAGS)
$
$(CFLAGS)
-D
$(IMAGE)
$(MAKE_DEP)
-c
$$
<
-o
$$
@
...
...
@@ -218,7 +218,7 @@ $(eval OBJ := $(1)/$(patsubst %.S,%.o,$(notdir $(2))))
$(eval DEP
:
= $(patsubst %.o
,
%.d
,
$(OBJ)))
$(eval IMAGE
:
= IMAGE_BL$(call uppercase
,
$(3)))
$(OBJ)
:
$(2)
$(MAKEFILE_LIST)
| bl$(3)_dirs
$(OBJ)
:
$(2) | bl$(3)_dirs
@
echo
" AS
$$
<"
$
$(Q)
$
$(AS)
$
$(ASFLAGS)
-D
$(IMAGE)
$(MAKE_DEP)
-c
$$
<
-o
$$
@
...
...
@@ -235,7 +235,7 @@ define MAKE_LD
$(eval DEP
:
= $(1).d)
$(1)
:
$(2)
$(MAKEFILE_LIST)
| bl$(3)_dirs
$(1)
:
$(2) | bl$(3)_dirs
@
echo
" PP
$$
<"
$
$(Q)
$
$(CPP)
$
$(CPPFLAGS)
-P
-D__ASSEMBLY__
-D__LINKER__
$(MAKE_DEP)
-o
$$
@
$$
<
...
...
@@ -374,7 +374,7 @@ define MAKE_DTB
$(eval DOBJ
:
= $(addprefix $(1)/
,
$(call SOURCES_TO_DTBS
,
$(2))))
$(eval DEP
:
= $(patsubst %.dtb
,
%.d
,
$(DOBJ)))
$(DOBJ)
:
$(2)
$(MAKEFILE_LIST)
| fdt_dirs
$(DOBJ)
:
$(2) | fdt_dirs
@
echo
" DTC
$$
<"
$
$(Q)
$
$(DTC)
$
$(DTC_FLAGS)
-d
$(DEP)
-o
$$
@
$$
<
...
...
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