Commit Graph

42 Commits

Author SHA1 Message Date
Mike Frysinger 7ba23b6825 libgloss: merge sparc_leon into top-level Makefile
Avoid a recursive make to speed things up a bit.
A sparc-elf build shows installed objects & libs produce same code.
2024-01-19 22:23:47 -05:00
Mike Frysinger 74674f2cc8 libgloss: merge sparc into top-level Makefile
Avoid a recursive make to speed things up a bit.
A sparc-elf build shows installed objects & libs produce same code.
2024-01-19 22:23:47 -05:00
Mike Frysinger 026422b030 libgloss: merge ft32 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A ft32-elf build shows installed objects & libs produce same code.

Mention of ft32-elf-common.ld is dropped as it has never existed
in the tree, and has been an (ignored) error in the past.
2024-01-19 22:23:47 -05:00
Mike Frysinger ad17cf6d67 libgloss: merge fr30 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A fr30-elf build shows installed objects & libs produce same code.

A lot of code seems like it hasn't been migrated, but that's because
it's all disabled/unused (i.e. all the test & mon code).  It looks
like a lot of copy & paste holdovers from the original port.
2024-01-19 22:23:47 -05:00
Mike Frysinger 8c5bb84b6b libgloss: merge or1k into top-level Makefile
Avoid a recursive make to speed things up a bit.
A or1k-elf build shows installed objects & libs produce same code.
2024-01-19 22:23:47 -05:00
Mike Frysinger 22257fc681 libgloss: merge epiphany into top-level Makefile
Avoid a recursive make to speed things up a bit.
A epiphany-elf build shows installed objects & libs produce same code.
2024-01-19 22:23:47 -05:00
Mike Frysinger 770dd85aaf libgloss: merge visium into top-level Makefile
Avoid a recursive make to speed things up a bit.
A visium-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger af075aed1d libgloss: merge m32r into top-level Makefile
Avoid a recursive make to speed things up a bit.
A m32r-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 4172a3c618 libgloss: merge rl78 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A rl78-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 1ed68b884c libgloss: merge rx into top-level Makefile
Avoid a recursive make to speed things up a bit.
A rx-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 3342c0ef81 libgloss: merge xstormy16 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A xstormy16-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 695404d16f libgloss: merge nds32 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A nds32le-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger f4c8e1623b libgloss: merge mcore into top-level Makefile
Avoid a recursive make to speed things up a bit.
A mcore-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 41de4b00f7 libgloss: merge mn10200 into top-level Makefile
Avoid a recursive make to speed things up a bit.
Untested, but follows the same pattern as mn10300, but simpler.
2024-01-19 20:26:52 -05:00
Mike Frysinger 25f6d8772e libgloss: merge mn10300 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A mn10300-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 56211d0e14 libgloss: merge i386 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A i386-elf build shows installed objects & libs produce same code other
than a rename from cygmon-gmon.o & cygmon-salib.o to i386_libcygmon_a-*.o
due to the use of custom CPPFLAGS in here.
2024-01-19 20:26:52 -05:00
Mike Frysinger 20dcee2c27 libgloss: merge frv into top-level Makefile
Avoid a recursive make to speed things up a bit.
A frv-elf build shows installed objects & libs produce same code.
2024-01-19 20:26:52 -05:00
Mike Frysinger 787b83bb9b libgloss: merge msp430 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A msp430-elf build shows installed objects & libs produce same code.
2024-01-19 20:21:05 -05:00
Mike Frysinger 58da258561 libgloss: add per-file & per-dir flag support
This logic is copied from what's used in newlib today.  This allows
subdirs to easily define per-directory flags & per-file flags without
having to setup unique automake rules for each one.
2024-01-19 20:20:46 -05:00
Mike Frysinger 0714c6305a libgloss: add some objcopy/objdump build rules
A bunch of ports have manual rules to generate disassembly, srec, and
binary files from test programs.  Add top-level pattern rules so every
test program gets this for free, and we don't have to duplicate it in
every subdir.
2024-01-19 20:09:28 -05:00
Mike Frysinger 6bbeed74ca libgloss: merge i960 into top-level Makefile
Avoid a recursive make to speed things up a bit.
I can't test this as current versions of binutils doesn't support i960.
2024-01-03 03:49:10 -05:00
Mike Frysinger 6a3bc17465 libgloss: merge v850 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A v850e-elf build shows installed objects & libs produce same code.
2024-01-03 03:47:59 -05:00
Mike Frysinger 50d6410160 libgloss: merge moxie into top-level Makefile
Avoid a recursive make to speed things up a bit.
A moxie-elf build shows installed objects & libs produce same code.
2024-01-03 03:44:26 -05:00
Mike Frysinger b67114d7d8 Revert "Fix libgloss/newlib build to conditionally use top include dir"
This reverts commit 17ac400c11.

The build failures were due to incorrectly using $(INCLUDES) when
running $(AS).  Let's roll this back and drop $(INCLUDES) from the
$(AS) invocations.
2023-12-19 13:37:02 -05:00
Alexey Lapshin 42fc2fa37c libgloss: add Xtensa port
Supported esp32 and esp32s2 boards:
https://github.com/espressif/esp-toolchain-docs/blob/main/gcc/build-and-run-native-app.md
2023-08-24 10:52:36 -04:00
Jeff Johnston 17ac400c11 Fix libgloss/newlib build to conditionally use top include dir
- conditionally use -idirafter option for arm
2023-02-22 14:53:05 -05:00
Mike Frysinger 4391d2aed3 libgloss: merge csky into top-level Makefile
Avoid a recursive make to speed things up a bit.
A csky-elf build shows installed objects & libs produce same code.
2023-01-13 17:24:17 -05:00
Mike Frysinger 3ef006f056 libgloss: merge nios2 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A nios2-elf build shows installed objects & libs produce same code.
2023-01-12 05:26:57 -05:00
Mike Frysinger 0e1c0a02cf libgloss: merge d30v into top-level Makefile
Avoid a recursive make to speed things up a bit.
2023-01-11 08:42:19 -05:00
Mike Frysinger 5401db924f libgloss: merge arc into top-level Makefile
Avoid a recursive make to speed things up a bit.
2023-01-11 08:42:16 -05:00
Mike Frysinger 275b39e219 libgloss: merge arm into top-level Makefile
Avoid a recursive make to speed things up a bit.
2023-01-11 01:00:21 -05:00
Mike Frysinger 26f9cfd7a8 libgloss: arm: break newlib dependency
The libgloss port has been reaching back into newlib internals for a
single header whose contents have been frozen for almost a decade.
To break this backwards libgloss->newlib dependency, move the acle
header to the srcroot include/ so everyone can use the same copy.
2023-01-11 01:00:15 -05:00
Mike Frysinger 13a7b16ea3 libgloss: merge aarch64 into top-level Makefile
Avoid a recursive make to speed things up a bit.
2023-01-09 21:49:50 -05:00
Palmer Dabbelt f59ff93046 libgloss: riscv: Convert to non-recursive automake
PR 29515 points out our documentation builds are broken, let's just move
over to the new non-recursive builds.

Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-08-26 16:47:48 +02:00
Mike Frysinger 74885d4fbd libgloss: merge lm32 into top-level Makefile
Avoid a recursive make to speed things up a bit.

This drops the header install logic because the lm32/ subdir doesn't
actually have any header files to install.
2022-03-01 20:29:07 -05:00
Mike Frysinger f9dc151186 libgloss: merge wince configure script up a level
Move the minor wince-specific logic to a dedicated file & namespace
them so we can merge its configure logic up a level.  The makefile
is a bit tricky, but maybe it still works.
2022-02-17 20:35:32 -05:00
Mike Frysinger 907764ebec newlib/libgloss: drop unused $(CROSS_CFLAGS)
This is used in a bunch of places, but nowhere is it ever set, and
nowhere can I find any documentation, nor can I find any other project
using it.  So delete the flags to simplify.
2022-02-15 20:02:51 -05:00
Mike Frysinger 66dfedc287 libgloss: merge bfin into top-level Makefile
Avoid a recursive make to speed things up a bit.
2022-02-11 06:14:55 -05:00
Mike Frysinger 62e580f01b libgloss: merge iq2000 into top-level Makefile
Avoid a recursive make to speed things up a bit.
2022-02-11 06:14:55 -05:00
Mike Frysinger f8aede7855 libgloss: merge libnosys into top-level Makefile
Avoid a recursive make to speed things up a bit.
2022-02-11 04:29:37 -05:00
Mike Frysinger 492e5fe8b0 libgloss: merge doc into top-level Makefile
Avoid a recursive make with this tiny subdir to speed things up a bit.
2022-02-09 20:01:40 -05:00
Mike Frysinger 7517551007 libgloss: convert top level to automake
The top level dir isn't doing anything interesting, just recursing into
subdirs.  So this change isn't terribly exciting.  But it sets us up for
doing more fun stuff in follow up commits.

[TODO] Check test targets
2022-02-09 20:01:40 -05:00