move make to examples/build_system

add -Wl,--no-warn-rwx-segment for gcc 12+
This commit is contained in:
hathach
2023-11-23 11:44:14 +07:00
parent 08f9ed67c9
commit 51312f70fd
16 changed files with 19 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
ifeq ($(TOOLCHAIN),gcc)
CFLAGS += \
-mcpu=cortex-a53 \
else ifeq ($(TOOLCHAIN),iar)
CFLAGS += \
--cpu cortex-a53 \
ASFLAGS += \
--cpu cortex-a53 \
endif