Well I screwed up on this. The makefile actually runs before including
Board.mk which contains the real targets so the default target becomes
the one in the src/Makefile.
Fundamentally this Makefile should not contain any targets.
On 12/31/2023 6:46 PM, Bill Rees wrote:
Out of
Out of curiosity I followed your example and added a clean:: to a
src/Makefile. The target fired.
:: git diff
diff --git a/boards/arm/efm32/efm32-g8xx-stk/src/Makefile
b/boards/arm/efm32/efm32-g8xx-stk/src/Makefile
index dc8938..79998ed009 100644
---
Happy new year
Enviado do meu iPhone
> Em 31 de dez. de 2023, à(s) 21:39, Tomek CEDRO escreveu:
>
> HAPPY NEW YEAR FOLKS!! LET ALL OUR GOOD NUTTX DREAMS COME TRUE!! :-)
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
HAPPY NEW YEAR FOLKS!! LET ALL OUR GOOD NUTTX DREAMS COME TRUE!! :-)
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Happy New Year! 2024 is here and we’re running NuttX on Single-Board
Computers with plenty of RAM. Like Pine64 Ox64 BL808 SBC with 64 MB RAM!
In this article, we create a Blinky LED app with a Python-like,
Garbage-Collected Language that compiles to C: Nim Programming Language.
Garbage-Collected
The command to your rule, clean:: does not need a shell process
wrapper.
You don't need the $() to execute shell commands in the recipe
since make does that for you.
Change the echo to simply: echo "board level clean" >&2
The '>&2' directs the output of echo to the stderr