From b0d954f0ecdf84c112aeaa249d9ca223af12cf14 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 10 Dec 2018 01:11:18 -0800 Subject: [PATCH] Allow short "moxiebox" alias ... while making use of the new tunables. Also, unmark the moxie-elf as broken: the ld scripts installed by newlib can be found by the compiler and can link the binaries. Why the default script is broken is not ct-ng's problem... Signed-off-by: Alexey Neyman --- config/libc/moxiebox.in | 10 ++++++++++ samples/moxie-unknown-elf/broken | 0 .../crosstool.config | 0 .../{moxie-unknown-moxiebox => moxiebox}/reported.by | 0 4 files changed, 10 insertions(+) delete mode 100644 samples/moxie-unknown-elf/broken rename samples/{moxie-unknown-moxiebox => moxiebox}/crosstool.config (100%) rename samples/{moxie-unknown-moxiebox => moxiebox}/reported.by (100%) diff --git a/config/libc/moxiebox.in b/config/libc/moxiebox.in index ca2107ed..e0366411 100644 --- a/config/libc/moxiebox.in +++ b/config/libc/moxiebox.in @@ -15,3 +15,13 @@ ## select LIBELF_NEEDED ## ## help Secure execution runtime for Moxie architecture. + +config MOXIEBOX_SHORT_TUPLE + bool "Use 'moxiebox-' as target tuple" + select OMIT_TARGET_ARCH + select OMIT_TARGET_VENDOR + select TARGET_SKIP_CONFIG_SUB + help + Moxiebox refers to the tools configured for 'moxie-unknown-moxiebox-' by + a short, 'moxiebox-' prefix. Though non-canonical, it seems to be officially + endorsed. diff --git a/samples/moxie-unknown-elf/broken b/samples/moxie-unknown-elf/broken deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/moxie-unknown-moxiebox/crosstool.config b/samples/moxiebox/crosstool.config similarity index 100% rename from samples/moxie-unknown-moxiebox/crosstool.config rename to samples/moxiebox/crosstool.config diff --git a/samples/moxie-unknown-moxiebox/reported.by b/samples/moxiebox/reported.by similarity index 100% rename from samples/moxie-unknown-moxiebox/reported.by rename to samples/moxiebox/reported.by