diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-08-31 15:24:44 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-09-01 16:34:31 +1200 |
commit | b46a0dbd1b1ad0d336dbf533892d8ba872e31c08 (patch) | |
tree | 6f298dbe66cc0327862e9de0aaea27d788c20b50 /samples | |
parent | 5a09578b6798f426b62d97b2ece1ba5e7b82990b (diff) | |
download | crosstool-ng-b46a0dbd1b1ad0d336dbf533892d8ba872e31c08.tar.gz crosstool-ng-b46a0dbd1b1ad0d336dbf533892d8ba872e31c08.tar.bz2 crosstool-ng-b46a0dbd1b1ad0d336dbf533892d8ba872e31c08.zip |
samples: riscv32-picolibc-elf: Drop invalid config
CC_CC_GCC_ENABLE_DEFAULT_PIE=n is invalid Kconfig syntax for an option
that was intentionally disabled the saved config would be
'# CC_CC_GCC_ENABLE_DEFAULT_PIE is not set'
but the DEFAULT_PIE option isn't selectable for RISCV && BARE_METAL so
the correct thing to do is just remove the config.
This also picks up a change regenerating the saved sample due to changes
in the Kconfig ordering.
Fixes #2019
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/riscv32-picolibc-elf/crosstool.config | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/samples/riscv32-picolibc-elf/crosstool.config b/samples/riscv32-picolibc-elf/crosstool.config index a546d87b..68bafbad 100644 --- a/samples/riscv32-picolibc-elf/crosstool.config +++ b/samples/riscv32-picolibc-elf/crosstool.config @@ -6,11 +6,10 @@ CT_ARCH_ARCH="rv32imac_zicsr_zifencei" CT_ARCH_ABI="ilp32" CT_TARGET_CFLAGS="-ftls-model=local-exec" CT_TARGET_VENDOR="picolibc" -CC_CC_GCC_ENABLE_DEFAULT_PIE=n CT_LIBC_PICOLIBC=y -CT_CC_GCC_CONFIG_TLS=y -CT_CC_LANG_CXX=y CT_LIBC_PICOLIBC_DEFAULT_FLASH_ADDR="0x80000000" CT_LIBC_PICOLIBC_DEFAULT_FLASH_SIZE="0x00200000" CT_LIBC_PICOLIBC_DEFAULT_RAM_ADDR="0x80200000" CT_LIBC_PICOLIBC_DEFAULT_RAM_SIZE="0x00200000" +CT_CC_GCC_CONFIG_TLS=y +CT_CC_LANG_CXX=y |