ROMLIB bug fixes
authorJohn Tsichritzis <john.tsichritzis@arm.com>
Fri, 8 Mar 2019 16:54:13 +0000 (16:54 +0000)
committerJohn Tsichritzis <john.tsichritzis@arm.com>
Thu, 21 Mar 2019 10:51:07 +0000 (10:51 +0000)
commitae2e01b8760618c374a605dbe4898945595cb136
tree96a8a1a2aafbb2ba5fe72112abc16063427cc2fb
parent859cf9ea33e24cc16d29dba69c0f31cbb0339283
ROMLIB bug fixes

Fixed the below bugs:
1) Bug related to build flag V=1: if the flag was V=0, building with
ROMLIB would fail.
2) Due to a syntax bug in genwrappers.sh, index file entries marked as
"patch" or "reserved" were ignored.
3) Added a prepending hash to constants that genwrappers is generating.
4) Due to broken dependencies, currently the inclusion functionality is
intentionally not utilised. This is why the contents of romlib/jmptbl.i
have been copied to platform specific jmptbl.i files. As a result of the
broken dependencies, when changing the index files, e.g. patching
functions, a clean build is always required. This is a known issue that
will be fixed in the future.

Change-Id: I9d92aa9724e86d8f90fcd3e9f66a27aa3cab7aaa
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
docs/romlib-design.rst
lib/romlib/Makefile
lib/romlib/genwrappers.sh
plat/arm/board/fvp/jmptbl.i
plat/arm/board/juno/jmptbl.i