mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
97b24d3d51
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially generate the appropriate boundary symbols around each subsection in the section carrying the linker-generated arrays. Obviously, the interim linker code for actual placement of the variables into the section is generated too. The generated file, u-boot.lst, is included into u-boot.lds via the linker INCLUDE directive in u-boot.lds . Adjustments are made in the Makefile and spl/Makefile so that the u-boot.lds and u-boot-spl.lds depend on their respective .lst files. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Joe Hershberger <joe.hershberger@ni.com>
80 lines
811 B
Text
80 lines
811 B
Text
#
|
|
# NOTE! Don't add files that are generated in specific
|
|
# subdirectories here. Add them in the ".gitignore" file
|
|
# in that subdirectory instead.
|
|
#
|
|
# Normal rules
|
|
#
|
|
|
|
*.rej
|
|
*.orig
|
|
*.a
|
|
*.o
|
|
*.su
|
|
*~
|
|
*.swp
|
|
*.patch
|
|
*.bin
|
|
|
|
# Build tree
|
|
/build-*
|
|
|
|
#
|
|
# Top-level generic files
|
|
#
|
|
|
|
/MLO
|
|
/System.map
|
|
/u-boot
|
|
/u-boot.hex
|
|
/u-boot.imx
|
|
/u-boot.map
|
|
/u-boot.srec
|
|
/u-boot.ldr
|
|
/u-boot.ldr.hex
|
|
/u-boot.ldr.srec
|
|
/u-boot.img
|
|
/u-boot.kwb
|
|
/u-boot.sha1
|
|
/u-boot.dis
|
|
/u-boot.lds
|
|
/u-boot.lst
|
|
/u-boot.ubl
|
|
/u-boot.ais
|
|
/u-boot.dtb
|
|
/u-boot.sb
|
|
/u-boot.geany
|
|
|
|
#
|
|
# Generated files
|
|
#
|
|
|
|
*.depend*
|
|
/LOG
|
|
/errlog
|
|
/reloc_off
|
|
|
|
/include/generated/
|
|
asm-offsets.s
|
|
|
|
# stgit generated dirs
|
|
patches-*
|
|
.stgit-edit.txt
|
|
|
|
# quilt's files
|
|
patches
|
|
series
|
|
|
|
# gdb files
|
|
.gdb_history
|
|
|
|
# cscope files
|
|
cscope.*
|
|
|
|
# tags files
|
|
/tags
|
|
/ctags
|
|
/etags
|
|
|
|
# spl ais files
|
|
/spl/*.ais
|