toolchain/toolchain-external/toolchain-external-custom: add option to indicate SSP_ST...
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 20 Feb 2020 02:01:15 +0000 (03:01 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 20 Feb 2020 21:58:03 +0000 (22:58 +0100)
commit522a851be7830fa56adaad1341fb78949f1299ab
tree0705f906a0f51b52815cc0ed8865b8be4e88b568
parent2b751143929d2634c8927e3a392b0202708c4232
toolchain/toolchain-external/toolchain-external-custom: add option to indicate SSP_STRONG support

This commit adds a user-visible option
BR2_TOOLCHAIN_EXTERNAL_HAS_SSP_STRONG, which will allow the user to
indicate if the custom external toolchain does or does not have
SSP_STRONG support. Depending on this, the user will be able to use
(or not) the BR2_SSP_STRONG option.

Checking if what the user said is true or not about this is already
done in toolchain/toolchain-external/pkg-toolchain-external.mk:

        $$(Q)$$(call check_toolchain_ssp,$$(TOOLCHAIN_EXTERNAL_CC),$(BR2_SSP_OPTION))

If the user selects BR2_SSP_STRONG, this will check if
-fstack-protector-strong is really supported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
toolchain/toolchain-external/toolchain-external-custom/Config.in.options