tools/firmware: fix setting of fcf-protection=none
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 4 Apr 2022 10:40:43 +0000 (12:40 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 4 Apr 2022 11:30:00 +0000 (12:30 +0100)
commit7225f6e0cd3afd48b4d61c43dd8fead0f4c92193
tree898a7da2ec6929da48fd091455f0e87c498fde93
parentd62a34423a1a98aefd7c30e22d2d82d198f077c8
tools/firmware: fix setting of fcf-protection=none

Setting the fcf-protection=none option in EMBEDDED_EXTRA_CFLAGS in the
Makefile doesn't get it propagated to the subdirectories, so instead
set the flag in firmware/Rules.mk, like it's done for other compiler
flags.

Fixes: 3667f7f8f7 ('x86: Introduce support for CET-IBT')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/firmware/Makefile
tools/firmware/Rules.mk