Add the tooling necessary to build an Image that can be found and started by ROM code of the JH7110 SOC. source: https://github.com/starfive-tech/Tools Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: Iab16c1e1f15f24e85c0ef1a3e838d024e1e49286 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83849 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Alicja Michalska <ahplka19@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
16 lines
292 B
Makefile
16 lines
292 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
override CFLAGS=-Wall -Wno-unused-result -Wno-format-truncation -O2
|
|
|
|
SRCS = $(wildcard *.c)
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
all: spl_tool
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
spl_tool: $(OBJS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
|
|
|
|
clean:
|
|
rm -f *.o spl_tool
|