diff options
author | Andrew F. Davis <afd@ti.com> | 2017-10-10 15:05:11 -0500 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2017-10-11 18:39:20 +0200 |
commit | 6afb8533c36f700a7cb7208d93eaf00f2f78df74 (patch) | |
tree | fd70455e1b5601d093dd83dd59d5c10731737c19 /documentation | |
parent | 93d3c451da7014193220c3f686c4b6379a1c5095 (diff) |
core: link.mk: make platform specific kern.ld.S optional
Most platform do not need any special linker scripting and so most
just link back to the default. Lets just have link.mk use the default
when a platform does not have this file. Also remove this from the
porting guidelines as it is now optional and only needed for advanced
use.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/porting_guidelines.md | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/documentation/porting_guidelines.md b/documentation/porting_guidelines.md index 434d3682..62d55a51 100644 --- a/documentation/porting_guidelines.md +++ b/documentation/porting_guidelines.md @@ -43,7 +43,7 @@ where you are supposed to add a new platform or modify an existing one. Typically you will find this set of files in a specific platform folder: ```bash $ ls -conf.mk kern.ld.S link.mk main.c platform_config.h sub.mk +conf.mk link.mk main.c platform_config.h sub.mk ``` So for the gendev platform it means that the files should be placed in this @@ -95,14 +95,6 @@ There are probably quite a few other flags that could be useful or even necessary. Please refer to the other `conf.mk` file in the already existing platforms. -##### kern.ld.S -This is your linker script. As it turns out, most of the existing platforms use -the same linker script and therefore most likely you will only need to add this -single line to the file: -``` -#include "../kernel/kern.ld.S" -``` - ##### link.mk This is the makefile for the linker, just as for the linker script, most platforms use the same and generic makefile for the linker, so adding only this |