1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 05:23:50 +01:00

make: export DEVELHELP

This patch exports the make macro `DEVELHELP`. Without this patch, use
of the macro in the following files does not work when the macro is set
in a makefile (such as in Makefile.local or an application's makefile as
demonstrated in dist/Makefile). Inside these files `DEVELHELP` is not
defined under these conditions.

 - pkg/littlefs/Makefile
 - pkg/littlefs2/Makefile
 - sys/stdio_null/Makefile

Note that use of the macro does work in these files when the macro is
set from the command line, without the patch. For example:

``` sh
$make DEVELHELP=1 all
```
This commit is contained in:
Joshua DeWeese 2024-10-03 14:05:19 -04:00
parent 8a933a56ae
commit dda83bc67e

View File

@ -116,7 +116,7 @@ export HEXFILE # The 'intel hex' stripped result of the compilatio
# DEBUGSERVER_FLAGS # The parameters to supply to DEBUGSERVER.
# DEBUGCLIENT # The command to call on "make debug-client", usually a script starting the GDB client.
# DEBUGCLIENT_FLAGS # The parameters to supply to DEBUGCLIENT.
# DEVELHELP # Set to 1 to spend ROM, RAM and CPU time for help during development (e.g. enable asserts())
export DEVELHELP # Set to 1 to spend ROM, RAM and CPU time for help during development (e.g. enable asserts())
# RESET # The command to call on "make reset", this command resets/reboots the target.
# RESET_FLAGS # The parameters to supply to RESET.
# PROGRAMMER # The programmer to use when flashing, resetting or debugging