[riot-notifications] [RIOT-OS/RIOT] makefiles/arch/mips.inc.mk: use makefiles/utils lowercase function (#12341)

Gaëtan Harter notifications at github.com
Mon Sep 30 17:42:17 CEST 2019


### Contribution description

Use the new common 'lowercase' function from makefiles/utils.

The `lowercase` function was added based on the `lc` implementation in #12119 
So now use the common version.

### Testing procedure

When one of the `priv_symbol` is defined, (I will set `MEMORY_BASE`), the output is the same as in master.
No idea what it does, it just kept the behavior.

<details><summary><code>for board in pic32-clicker pic32-wifire; do MEMORY_BASE=set_a_random_value BOARD=${board} make --no-print-directory -C examples/hello-world/ info-debug-variable-LINKFLAGS; done | sed "s|${PWD}/||g"</code></summary>

```
for board in pic32-clicker pic32-wifire; do MEMORY_BASE=set_a_random_value BOARD=${board} make --no-print-directory -C examples/hello-world/ info-debug-variable-LINKFLAGS; done | sed "s|${PWD}/||g" 
-luhi -msoft-float -Wl,--defsym,__memory_base=set_a_random_value -T bootcode.ld -Lcpu/mips_pic32mx/ldscripts -EL -mabi=32 -g3 -Os -Wl,--gc-sections -Wl,--defsym,__use_excpt_boot=0 -DDEVELHELP -Werror -std=gnu99 -EL -mabi=32 -ffunction-sections -fno-builtin -fshort-enums -fdata-sections -Os -g3 -msoft-float -march=m4k -DSKIP_COPY_TO_RAM -DRIOT_APPLICATION="hello-world" -DBOARD_PIC32_CLICKER="pic32-clicker" -DRIOT_BOARD=BOARD_PIC32_CLICKER -DCPU_MIPS_PIC32MX="mips_pic32mx" -DRIOT_CPU=CPU_MIPS_PIC32MX -DMCU_MIPS_PIC32MX="mips_pic32mx" -DRIOT_MCU=MCU_MIPS_PIC32MX -fno-common -Wall -Wextra -Wmissing-include-dirs -fno-delete-null-pointer-checks -Wstrict-prototypes -Wold-style-definition -Wformat=2 -include examples/hello-world/bin/pic32-clicker/riotbuild/riotbuild.h -Tpic32mx512_12_128_uhi.ld -lc
-luhi -msoft-float -Wl,--defsym,__memory_base=set_a_random_value -T bootcode.ld -Lcpu/mips_pic32mz/ldscripts -EL -mabi=32 -g3 -Os -Wl,--gc-sections -Wl,--defsym,__use_excpt_boot=0 -DDEVELHELP -Werror -std=gnu99 -EL -mabi=32 -ffunction-sections -fno-builtin -fshort-enums -fdata-sections -Os -g3 -msoft-float -march=m5101 -mmicromips -DSKIP_COPY_TO_RAM -DMIPS_MICROMIPS -DRIOT_APPLICATION="hello-world" -DBOARD_PIC32_WIFIRE="pic32-wifire" -DRIOT_BOARD=BOARD_PIC32_WIFIRE -DCPU_MIPS_PIC32MZ="mips_pic32mz" -DRIOT_CPU=CPU_MIPS_PIC32MZ -DMCU_MIPS_PIC32MZ="mips_pic32mz" -DRIOT_MCU=MCU_MIPS_PIC32MZ -fno-common -Wall -Wextra -Wmissing-include-dirs -fno-delete-null-pointer-checks -Wstrict-prototypes -Wold-style-definition -Wformat=2 -include examples/hello-world/bin/pic32-wifire/riotbuild/riotbuild.h -Tpic32mz2048_uhi.ld -lc
```
</details>

### Issues/PRs references

Using functions defined in #12119
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12341

-- Commit Summary --

  * makefiles/arch/mips.inc.mk: use makefiles/utils lowercase function

-- File Changes --

    M makefiles/arch/mips.inc.mk (5)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12341.patch
https://github.com/RIOT-OS/RIOT/pull/12341.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12341
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/bf330716/attachment.htm>


More information about the notifications mailing list