<div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 21, 2021 at 12:08 PM Mattias Gaertner via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 21 Feb 2021 11:50:49 +0200<br>
Christo Crause via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>> wrote:<br>
<br>
> I'm busy working on expanding AVR support in fpdebug/fpdebugdebugger.<br>
>  Some of the property classes overlap with classes already defined in<br>
> gdbmidebugger and I want to move these classes up the hierarchy to<br>
> avoid duplication.  This introduces extra dependencies and I need to<br>
> update the affected component make files. I started doing this using<br>
> the "Create Makefile" option in the Lazarus package tool with FPC 3.2<br>
> and noticed large changes in the resulting make file, mostly related<br>
> to deleted targets such as xtensa-freertos.  Should I use FPC trunk<br>
> (and more specifically fpcmake from trunk) for  development of<br>
> Lazarus, or is this just required when regenerating make files?<br>
> <br>
> Also the build order of some of the targets needs to be reordered in<br>
> the root make file to satisfy the dependency chain,  can I update the<br>
> Makefile.fpc and MakeFile by hand, or is there a tool/option to also<br>
> update these make files which are not part of a package?<br>
<br>
The Lazarus Makefiles are created from the corresponding Makefile.fpc.<br>
In order to support fpc trunk, you need fpc trunk sources.<br>
<br>
You can update one Makefile by calling the one liner (e.g linux 64bit):<br>
<br>
FPCDIR=/path/to/fpc_sources/trunk/fpc/<br>
/path/to/fpc_sources/trunk/fpc/utils/fpcm/bin/x86_64-linux/fpcmake<br>
-TAll -v<br></blockquote><div><br></div><div>Thank you Mattias, that does the trick. <br></div></div></div>