diff options
author | Holger Assmann <h.assmann@pengutronix.de> | 2022-04-05 15:14:40 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-04-08 13:34:05 +0200 |
commit | d8e2317ddac9db2b4c902c37772b1c166deb2e90 (patch) | |
tree | 60786bd6c6752317646fe39906c67ba4373f9078 /rules/syslinux.make | |
parent | 59b4dff5c040bb89703c0ae8f7c112fac41c94f9 (diff) | |
download | ptxdist-d8e2317ddac9db2b4c902c37772b1c166deb2e90.tar.gz ptxdist-d8e2317ddac9db2b4c902c37772b1c166deb2e90.tar.xz |
syslinux: add all hardening flags to blacklist
By not blacklisting TARGET_COMPILER_RECORD_SWITCHES parts of the
bootloader become too big, with objcopy results then having the
wrong size.
Since we are handling a bootloader here, we should further disable
any hardening option whatsoever.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Holger Assmann <h.assmann@pengutronix.de>
Message-Id: <20220405131440.3230553-1-h.assmann@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/syslinux.make')
-rw-r--r-- | rules/syslinux.make | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/syslinux.make b/rules/syslinux.make index 550fa35a8..0d17470d3 100644 --- a/rules/syslinux.make +++ b/rules/syslinux.make @@ -32,8 +32,7 @@ SYSLINUX_MAKE_ENV := \ ICECC=no SYSLINUX_WRAPPER_BLACKLIST := \ - TARGET_HARDEN_STACKCLASH \ - TARGET_HARDEN_PIE + $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST) SYSLINUX_MAKE_OPT := $(CROSS_ENV_PROGS) SYSLINUX_INSTALL_OPT := install INSTALLROOT=$(SYSLINUX_PKGDIR) |