platform: generic: Enable FW_PIC=y as default
PATCH v2 1/1 platform: generic: Enable FW_PIC=y as default
From: Guo Ren <[email protected]>
Tested with qemu_rv32 & rv64, T-HEAD all hardwares. I think it's time to enable it as default.
Thx Vincent's commit: 0f20e8adcf42
--- firmware/objects.mk | 4 ++++ 1 file changed, 4 insertions(+)
firmware/objects.mk +4 -0
@@ -13,6 +13,10 @@ firmware-cflags-y += firmware-asflags-y += firmware-ldflags-y += +ifndef FW_PIC +FW_PIC := y +endif + ifeq ($(FW_PIC),y) firmware-genflags-y += -DFW_PIC firmware-asflags-y += -fpic
Signature · 1 line
2.7.4
Anup Patel
AppliedPATCH v2 1/1 platform: generic: Enable FW_PIC=y as default
Quoted 16 lines
-----Original Message-----
From: guoren at kernel.org <[email protected]>
Sent: 27 April 2021 12:30
To: guoren at kernel.org; anup at brainfault.org
Cc: opensbi at lists.infradead.org; Guo Ren <[email protected]>; Anup Patel <[email protected]>; Vincent Chen <[email protected]>
Subject: [PATCH v2] platform: generic: Enable FW_PIC=y as defaultFrom: Guo Ren <[email protected]>
Tested with
qemu_rv32& rv64, T-HEAD all hardwares. I think it's time to enable it as default.
Quoted 7 lines
Thx Vincent's commit:
0f20e8adcf42Suggested-by Anup Patel <[email protected]>Signed-off-by Guo Ren <[email protected]>Tested-by Guo Ren <[email protected]>Cc Anup Patel <[email protected]>Cc Vincent Chen <[email protected]>
Replaced patch subject prefix with "firmware:" and also updated commit description.
Applied this patch to the riscv/opensbi repo
Regards,
Anup
Quoted 21 lines
--- firmware/objects.mk | 4 ++++ 1 file changed, 4 insertions(+)firmware/objects.mk index renamed from firmware/objects.mk +0
-0c1f632e..ce91c2f 100644
firmware/objects.mk +4
-1@@ -13,6 +13,10 @@ firmware-cflags-y += firmware-asflags-y += firmware-ldflags-y += +ifndef FW_PIC +FW_PIC := y +endif + ifeq ($(FW_PIC),y) firmware-genflags-y += -DFW_PIC firmware-asflags-y += -fpic --2.7.4