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
1adfc9ac37
libgloss: check for objcopy & objdump properly
...
A bunch of ports hack together these values rather than setting them
up in the configure script for everyone.
2024-01-19 19:51:35 -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
a84860f488
libgloss: sparc: add missing m4 include
...
Commit 8d758283785042589e95c93d7899cecf28ef00ea ("libgloss: merge
sparc configure script up a level") missed including the sparc
acinclude.m4 file which meant none of the sparc-specific vars were
propagating to the sub-makefile.
2023-12-29 21:07:08 -05:00
Jeff Johnston
f81bf08f7c
Add generated files for Revert patch
2023-12-19 13:58:12 -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
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
Mike Frysinger
04411f45d0
libgloss: merge arm configure script up a level
...
Move the minor arm-specific logic to a dedicated variable so we can
merge its configure logic up a level.
2022-12-19 19:08:12 -05:00
Mike Frysinger
8893cd1006
libgloss: merge aarch64 configure script up a level
...
Move the minor aarch64-specific logic to a dedicated variable so we can
merge its configure logic up a level.
2022-12-19 19:08:12 -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
89f643e87b
libgloss: use m4_foreach_w to simplify the logic a bit
...
It's functionally the same, but the configure.ac code is simpler and
less boiler plate duplicated.
2022-03-01 20:29:07 -05:00
Mike Frysinger
7f674bb4da
libgloss: switch to AM_PROG_AR
...
Now that we require Automake 1.15, we can use this macro rather than
set the tool up ourselves. The current code doesn't properly search
for a prefixed ar tool as-is.
2022-02-25 23:07:20 -05:00
Mike Frysinger
15d7e0d417
libgloss: finish migration to AM_PROG_AS
...
When merging iq2000 up a level, it included a partial conversion to
AM_PROG_AS in the common directory. Finish it for all directories
to kill off the custom LIB_AM_PROG_AS which we no longer need since
we require Automake 1.15 now.
2022-02-24 19:10:39 -05:00
Mike Frysinger
7edb25725d
libgloss: switch to standard AC_PROG_CC
...
Now that we use AC_NO_EXECUTABLES, and we require a recent version of
autoconf, we don't need to define our own copies of these macros. So
switch to the standard AC_PROG_CC.
2022-02-24 19:06:21 -05:00
Mike Frysinger
8d75828378
libgloss: merge sparc configure script up a level
...
Move the minor sparc-specific logic to a dedicated variable so we can
merge its configure logic up a level.
2022-02-23 19:44:10 -05:00
Mike Frysinger
4ed502ba02
libgloss: enable maintainer mode support
...
Use AM_MAINTAINER_MODE so devs have to opt-in to automatic rebuilds
of autotools. This matches what newlib (and most every other GNU
toolchain package) does with automake.
2022-02-22 17:09:16 -05:00
Mike Frysinger
7a1c557b8e
libgloss: merge mips configure script up a level
...
Move the minor mips-specific logic to a dedicated file & namespace
them so we can merge its configure logic up a level.
2022-02-17 20:36:41 -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
e0c0ad8268
libgloss: build with -nostdinc
...
We don't want libgloss building against C library headers that happened
to be installed with the toolchain, so add -nostdinc to the build. We
still need access to the compiler internal headers, so probe those and
include them via -isystem. This uses a similar probing style as glibc,
which has used it for over a decade, so it should be safe & stable.
This should prevent any latent bugs due to testing with a toolchain that
is fully configured & installed already.
2022-02-16 20:29:08 -05:00
Mike Frysinger
538a37be5b
libgloss: merge mn10300 configure script up a level
...
Move the minor mn10300-specific logic to a dedicated file & namespace
them so we can merge its configure logic up a level. part_specific_obj
wasn't used anywhere (looks like copy & paste left over from mips), so
drop it entirely.
2022-02-16 20:20:14 -05:00
Mike Frysinger
0c45c7ce67
libgloss: merge mn10200 configure script up a level
...
The mn10200-specific logic (setting up part_specific_obj) isn't used
by the build anywhere -- looks like copy & paste left overs from mips.
So punt that & merge the target_makefile_frag_path up to the top-level.
2022-02-16 20:16:05 -05:00
Mike Frysinger
9a5f78d80e
libgloss: merge m68k configure script up a level
...
Move the minor m68k-specific logic to a dedicated file & namespace them
so we can merge its configure logic up a level.
2022-02-16 20:14:55 -05:00
Mike Frysinger
91019da446
libgloss: merge mcore configure script up a level
...
Move the minor mcore-specific logic to a dedicated file & namespace them
so we can merge its configure logic up a level.
2022-02-16 20:11:55 -05:00
Mike Frysinger
e7f8999918
libgloss: merge moxie configure script up a level
...
Move the minor moxie-specific logic to a dedicated file & namespace them
so we can merge its configure logic up a level.
2022-02-16 20:10:48 -05:00
Mike Frysinger
5200f756cc
libgloss: merge i386 configure script up a level
...
Move the minor i386-specific logic to a dedicated variable so we can
merge its configure logic up a level.
2022-02-16 20:08:55 -05:00
Mike Frysinger
5365a7deee
libgloss: merge csky configure script up a level
...
Now that the csky-specific logic ($DO) has been deleted, we can fold
it up a level easily enough.
2022-02-11 06:19:01 -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