| 048531d7 | 10-May-2017 |
Soby Mathew <soby.mathew@arm.com> |
Add support to link an external lib with ARM TF
This patch defines the variable `LDLIBS` which allows external libraries to be specified to 'ld' to enable it to link the libraries.
Change-Id: I02a4
Add support to link an external lib with ARM TF
This patch defines the variable `LDLIBS` which allows external libraries to be specified to 'ld' to enable it to link the libraries.
Change-Id: I02a490eca1074063d00153ccb0ee974ef8859a0e Signed-off-by: Soby Mathew <soby.mathew@arm.com>
show more ...
|
| bb41eb7a | 22-May-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
cert: move platform_oid.h to include/tools_share for all platforms
Platforms aligned with TBBR are supposed to use their own OIDs, but defining the same macros with different OIDs does not provide a
cert: move platform_oid.h to include/tools_share for all platforms
Platforms aligned with TBBR are supposed to use their own OIDs, but defining the same macros with different OIDs does not provide any value (at least technically).
For easier use of TBBR, this commit allows platforms to reuse the OIDs obtained by ARM Ltd. This will be useful for non-ARM vendors that do not need their own extension fields in their certificate files.
The OIDs of ARM Ltd. have been moved to include/tools_share/tbbr_oid.h
Platforms can include <tbbr_oid.h> instead of <platform_oid.h> by defining USE_TBBR_DEFS as 1. USE_TBBR_DEFS is 0 by default to keep the backward compatibility.
For clarification, I inserted a blank line between headers from the include/ directory (#include <...>) and ones from a local directory (#include "..." ).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| 052ab529 | 11-Apr-2017 |
Evan Lloyd <evan.lloyd@arm.com> |
Build: Correct Unix specific echo commands
Some recent changes have added direct use of the echo command without parameters. This fails on a Windows shell, because echo without parameters reports t
Build: Correct Unix specific echo commands
Some recent changes have added direct use of the echo command without parameters. This fails on a Windows shell, because echo without parameters reports the mode ("ECHO is on"). This is corrected using the ECHO_BLANK_LINE macro already provided for that purpose.
Change-Id: I5fd7192861b4496f6f46b4f096e80a752cd135d6 Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
show more ...
|
| d014ea6c | 19-Jan-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: strip trailing slashes from directory paths more simply
Append . then strip /. seems clumsy. Just use $(patsubst %/,%, ).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> |
| a6ca7888 | 12-Jan-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: Fix parallel building
Soren reports build fails if -j option is given:
$ make -j16 CROSS_COMPILE=aarch64-linux-gnu- Building fvp make: *** No rule to make target 'build/fvp/release/bl1
Build: Fix parallel building
Soren reports build fails if -j option is given:
$ make -j16 CROSS_COMPILE=aarch64-linux-gnu- Building fvp make: *** No rule to make target 'build/fvp/release/bl1/', needed by 'build/fvp/release/bl1/bl1.ld'. Stop. make: *** Waiting for unfinished jobs....
The cause of the failure is that $(dir ) leaves a trailing / on the directory names. It must be ripped off to let Make create the directory.
There are some ways to fix the issue. Here, I chose to make MAKE_LD look like MAKE_C and MAKE_S because bl*_dirs seems the central place of making directories.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reported-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Tested-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
show more ...
|
| 1d274ab0 | 22-Dec-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: add -MP option to add dummy rules to *.d files
This adds a phony target for each dependency other than the main file, causing each to depend on nothing.
Without this, the incremental build w
Build: add -MP option to add dummy rules to *.d files
This adds a phony target for each dependency other than the main file, causing each to depend on nothing.
Without this, the incremental build will fail when a header file is removed.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| 710ea1d0 | 22-Dec-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: generate .d file at the same time as object is created
Currently, .d files are generated before any objects are built. So, IS_ANYTHING_TO_BUILD flag is needed to avoid such processing for non
Build: generate .d file at the same time as object is created
Currently, .d files are generated before any objects are built. So, IS_ANYTHING_TO_BUILD flag is needed to avoid such processing for non-build targets.
There is a cleverer way; just create a .d file simultaneously when the corresponding object is created. No need to have separate rules for .d files.
This commit will also fix a bug; -D$(IMAGE) is defined for $(OBJ), but not for $(PREREQUISITES). So, .d files are generated with different macro sets from those for .o files, then wrong .d files are generated.
For example, in lib/cpus/aarch64/cpu_helpers.S
#if IMAGE_BL31 #include <cpu_data.h> #endif
<cpu_data.h> is parsed for the object when built for BL31, but the .d file does not pick up that dependency.
With this commit, the compiler will generate .o and .d at the same time, guaranteeing they are generated under the same circumstances.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| 59de5096 | 22-Dec-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Build: use CPP just for pre-processing
Using AS for pre-processing looks a bit weird, and some assembly specific options are given for nothing. Rather, use CPP.
Signed-off-by: Masahiro Yamada <yam
Build: use CPP just for pre-processing
Using AS for pre-processing looks a bit weird, and some assembly specific options are given for nothing. Rather, use CPP.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|