rk27load: fix build flags for s1 and s2 images

Change-Id: Id3ba41337fc1ac4b3764a344682147173580fd95
This commit is contained in:
Marcin Bukat 2026-10-08 13:43:21 +02:00
parent be0153afbd
commit 8036fda6f0
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ AS = $(TOOLCHAIN)as
OBJCOPY = $(TOOLCHAIN)objcopy
OBJDUMP = $(TOOLCHAIN)objdump
CFLAGS = -Wundef -marm -march=armv5te -nostdlib -mfpu=fpa -O0 -c
CFLAGS = -Wundef -marm -march=armv5te -nostdlib -O0 -c
#ASFLAGS = -mcpu=arm926ej-s
OBJS = main.o
@ -20,7 +20,7 @@ LDSCRIPT= stage1.lds
#LIBS = -lgcc
LIBS =
LDFLAGS = -Wundef -marm -march=armv5te -T$(LDSCRIPT) -nostartfiles \
-mfpu=fpa -nostdlib -Xlinker -Map=$(TARGET).map
-nostdlib -Xlinker -Map=$(TARGET).map
all : $(TARGET).bin
ls -ls $(TARGET).bin

View file

@ -10,7 +10,7 @@ AS = $(TOOLCHAIN)as
OBJCOPY = $(TOOLCHAIN)objcopy
OBJDUMP = $(TOOLCHAIN)objdump
CFLAGS = -Wundef -marm -march=armv5te -nostdlib -mfpu=fpa -O0 -c
CFLAGS = -Wundef -marm -march=armv5te -nostdlib -O0 -c
#ASFLAGS = -mcpu=arm926ej-s
OBJS = crt0.o main.o irq.o
@ -20,7 +20,7 @@ LDSCRIPT= stage2.lds
#LIBS = -lgcc
LIBS =
LDFLAGS = -Wundef -marm -march=armv5te -T$(LDSCRIPT) -nostartfiles \
-mfpu=fpa -nostdlib -Xlinker -Map=$(TARGET).map
-nostdlib -Xlinker -Map=$(TARGET).map
all : $(TARGET).bin
ls -ls $(TARGET).bin