mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 05:23:39 +08:00
boot/uboot: pass -mno-fdpic if FDPIC is enabled
If the FDPIC ABI is enabled by default in the toolchain, it must be explicitly disabled when building U-Boot. Signed-off-by: Ben Wolsieffer <Ben.Wolsieffer@hefring.com> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d75e29c9b2
commit
ceff8dbaa5
@ -172,6 +172,11 @@ UBOOT_MAKE_OPTS += \
|
||||
HOSTLDFLAGS="$(HOST_LDFLAGS)" \
|
||||
$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS))
|
||||
|
||||
# Disable FDPIC if enabled by default in toolchain
|
||||
ifeq ($(BR2_BINFMT_FDPIC),y)
|
||||
UBOOT_MAKE_OPTS += KCFLAGS=-mno-fdpic
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31),y)
|
||||
UBOOT_DEPENDENCIES += arm-trusted-firmware
|
||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF),y)
|
||||
|
Loading…
Reference in New Issue
Block a user