Kalamatee
2a816c4753
move TARGET_UNITTESTS to target.cfg so that metamake sees the var.
2024-04-24 14:22:22 +02:00
Kalamatee
1776abdf1a
use the configure exported rust_target dont expand a few more variables until used.
2024-04-24 14:21:46 +02:00
Kalamatee
b82a892745
wip update to c++ support.
2024-04-24 14:21:46 +02:00
Kalamatee
7201da9ed0
remove erroneous hyphen reported by stanman
2024-04-23 16:45:22 +02:00
Kalamatee
4b798fef9d
add a patch for gcc 12.2.0, and update the experimental version to it.
2024-04-23 16:35:30 +02:00
deadwood
597b72b0f5
Add usesdks support to build_module_simple
2023-12-18 17:01:15 +01:00
deadwood
8314cc8395
Use new C library modules
2023-12-14 13:43:03 +01:00
Kalamatee
7cd50c4a3b
add a wip patch for binutils 2.40 and set the experimental version to it
2023-04-02 18:22:01 +02:00
deadwood
13f53d6351
Revert to using ISO-8859-2 for polish
...
This encoding was used for far and people developing for AROS are
accustomed to it.
2023-03-31 18:42:27 +02:00
deadwood
6c6ef98682
Use atomic locks only when in SMP mode
...
When non-SMP, a task outputting debug can be interrupted. If interrupt
handler also tries outputting debug, it deadlocks on lock held by task.
2023-02-13 21:38:45 +01:00
deadwood
6b73f3fa24
Correct previous change to arch specific dependencies
...
archspecific generates two targets: main and quick
Make main -kobj depend on arch main, because there is no -kobj
Make main -quick depend on arch -quick
Remove dependecies for -kobj-quick and -linklib. While they are valid,
there are almost never used, but generating them adds to processing and
initial pause in MMake startup. Replace them with dependency in mmakefile
where neeeded.
2023-01-31 09:45:24 +01:00
deadwood
07e49631a4
Generate rules using subtarget not target
...
Previously -quick targets were added dependencies to full targets, which
is against them being "quick"
2023-01-30 17:17:41 +01:00
Kalamatee
bb8e5e4a2b
make sure touch propagates to build_with_configure
2022-06-24 07:55:56 +02:00
Kalamatee
187a764073
add a switch to disable the touch flag rule for a target.
2022-06-24 07:55:56 +02:00
Kalamatee
48bccec732
generate the arch specific rules for build_linklib targets. only generate the linklib dir as part of build_archspecific if there are linklib objects.
2022-06-24 07:08:50 +02:00
Kalamatee
367ca6339f
Add ability to display timestamp and calling task to kernel debug output when DEBUG_TIMESTAMP is defined. rework pc arch specific _bug and _displayalert safedebug code, using DEBUG_USEATOMIC definition from config.h, and macros from kernel_debug.h. Provide an arch specific version of KrnBug for pc targets that is interrupt safe when DEBUG_USEATOMIC is enabled.
2022-06-24 07:07:16 +02:00
Kalamatee
77819aed6c
let rule_compile_cxx_multi and build_prog take the usetree switch. define the arch specific dependencies in the top level macro and explicitly define the dependency order.
2022-06-23 20:36:31 +02:00
Kalamatee
336674a1e4
let the fetch_and_build macro have patches_specs explicitly defined.
2022-06-23 15:32:57 +02:00
Kalamatee
a51b9e51bb
let cpy-dir-rec.py take a param to suppress output. output stripped down versions of the directories being copied to the log.
2022-06-23 15:32:56 +02:00
Kalamatee
0b566c3951
add a new fileactionmsg macro
2022-06-23 15:32:56 +02:00
Kalamatee
880683f63c
correct a typo. remove quotes from the INCEXTRA dirs.
2022-06-23 14:08:11 +02:00
Kalamatee
dde26cea3d
pass "$(TOP)/$(CURDIR)" to compile_q using incextra. override for modules with the parent dir.
2022-06-23 14:08:10 +02:00
Kalamatee
b1d1017cb2
dont forget to search $(TOP)/$(CURDIR)
2022-06-23 13:49:34 +02:00
Kalamatee
a02ba17ebb
allow build_prog to have additional object files specified.
2022-06-23 12:50:18 +02:00
deadwood
83c034dd11
Add sdk/usessdk to build_module_abi macro
2022-04-02 14:23:53 +02:00
deadwood
66a428fd83
Remove -D__AROS__ defines as they are now part of real cross-compiler
...
Looking at history, these defines were added when we were still
using a fake host crosscompiler.
2022-03-24 07:50:36 +01:00
deadwood
961b1ca3a9
Add patchelf to tools
2022-02-21 06:58:03 +01:00
deadwood
60958b4a7e
Rename -nolibc to -noclibs
...
nolibc already has a meaning for GCC 9+ and it acts by removing
the whole LIB_SPEC which is not what we want here.
2022-02-03 19:39:52 +01:00
deadwood
e5c05bf815
Add ability to pass C flags specific to building modules only
2022-01-03 18:56:12 +01:00
deadwood
21ddc16ba3
Filter out stdc.static when creating kernel objects
...
Otherwise functions are copied in each object and take up
space in ROM
2021-12-13 14:40:43 +01:00
deadwood
47757789b4
Adjust to changes to compiler flags and crt renaming
2021-12-13 10:13:44 +01:00
Marlon Beijer
dab42cf773
Add LHA to the build system and the fetch script
2021-11-30 06:03:27 +01:00
deadwood
341741d1a2
Generate rellinklib only if there are specific rellinklib files
...
A module without option rellinklib but with some linklibfiles=""
was generating a libmodule_rel.a
2021-11-29 17:06:17 +01:00
deadwood
93db943ec5
Pass the -nix parameter. Otherwise native gcc is build without it.
2021-11-20 20:32:54 +01:00
Matthias Rustler
37d6884291
mmakefile*: header fixes
...
copyright sign unfied to (C)
$Id$ removed
2021-05-02 13:52:04 +02:00
Matthias Rustler
a58f5dc15c
copyright header fixed
...
copyright sign unified to (C)
$Id$ removed
Lang: removed
2021-05-02 13:46:08 +02:00
BALATON Zoltan
5d6465962d
fix typo in make.tmpl
2021-05-02 12:00:41 +02:00
Kalamatee
9346e416cd
allow modules and programs to override the debug stripping.
2021-05-01 22:39:52 +02:00
Kalamatee
aab37b8f90
remove the substitution, since it is (or should be) handled in configure
2021-05-01 22:34:27 +02:00
Kalamatee
fed971198e
dont set CMAKE_BUILD_TYPE for host builds, if a value has already been specified in the mmakefile.src options for the template.
2021-05-01 22:33:02 +02:00
Kalamatee
c0b02942d0
remove the strip around the multi-line args, so that darwin doesnt choke on it.
2021-05-01 22:31:38 +02:00
Kalamatee
96783a2b5a
move Wallpapers under Presets/Wallpapers
2021-05-01 22:31:37 +02:00
Kalamatee
532e6bc6a5
don't set CFLAGS_COMMON - it causes unwanted COMMON symbols even in some fixed code.
2021-05-01 22:30:19 +02:00
Kalamatee
d9f7e6d2a2
expose KERNEL_ISA_LDFLAGS and HOST_ISA_LDFLAGS. add a separate ldopts param to linkage related templates, and pass the necessary options including ISA flags to the relevant recipes.
2021-05-01 22:30:18 +02:00
Kalamatee
1ad211e2dc
strip a bunch of variables we use during the build so that they dont produce white space in the command arguments/output. fix some LDFLAG issues with the various build_xx macros. make sure all template args are properly quoted where they have arguments that may expand and cause globbing/word splitting.
2021-05-01 22:19:07 +02:00
Kalamatee
beb8cb6547
if the target compiler is gcc 10 or better, set COMPILER_COMMON_CFLAGS = $(CFLAGS_COMMON)
2021-05-01 21:42:58 +02:00
David Gilmore
45d4ac9d2d
Update the llvm build to version 11.0.0 Added extra diffs for 10.0.1 and 11.0.1
2021-05-01 21:37:30 +02:00
Kalamatee
7d7c11db6c
fix LD invocation, so that ldflags/libs are correctly ordered and after the object file(s).
2021-05-01 21:30:05 +02:00
Kalamatee
83604f91f3
add an option to the build macros to always use the c++ compiler as the linker, even if there are no c++ files listed for the module.
2021-05-01 14:58:08 +02:00
Kalamatee
a2a3b2746a
remove the minus that has sneaked in before the fetch command.
2021-05-01 13:57:56 +02:00