Romlib makefile refactoring and script rewriting
The features of the previously existing gentbl, genvar and genwrappers
scripts were reimplemented in the romlib_generator.py Python script.
This resulted in more readable and maintainable code and the script
introduces additional features that help dependency handling in
makefiles. The assembly templates were separated from the script logic
and were collected in the 'templates' directory.

The targets and their dependencies were reorganized in the makefile and
the dependency handling of included index files is possible now.
Incremental build is available in case of modifying the index files.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I79f65fab9dc5c70d1f6fc8f57b2a3009bf842dc5
1 parent 7871fff commit d8210dc67af5b8c5f17a799bc2af5186dd30ba21
@Imre Kis Imre Kis authored on 9 Jul 2019
Showing 14 changed files
View
docs/components/romlib-design.rst
View
lib/romlib/Makefile
View
lib/romlib/gentbl.sh 100755 → 0
View
lib/romlib/genvar.sh 100755 → 0
View
lib/romlib/genwrappers.sh 100755 → 0
View
lib/romlib/romlib_generator.py 0 → 100755
View
lib/romlib/templates/jmptbl_entry_function.S 0 → 100644
View
lib/romlib/templates/jmptbl_entry_function_bti.S 0 → 100644
View
lib/romlib/templates/jmptbl_entry_reserved.S 0 → 100644
View
lib/romlib/templates/jmptbl_entry_reserved_bti.S 0 → 100644
View
lib/romlib/templates/jmptbl_glob_var.S 0 → 100644
View
lib/romlib/templates/jmptbl_header.S 0 → 100644
View
lib/romlib/templates/wrapper.S 0 → 100644
View
lib/romlib/templates/wrapper_bti.S 0 → 100644