Browse Source

spl_tool: rename jh7110_uboot_spl -> spl_tool

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Samin Guo 1 year ago
parent
commit
4839229a0f
3 changed files with 5 additions and 5 deletions
  1. 1 1
      spl_tool/.gitignore
  2. 4 4
      spl_tool/Makefile
  3. 0 0
      spl_tool/spl_tool.c

+ 1 - 1
spl_tool/.gitignore

@@ -7,4 +7,4 @@ _*
 *.patch
 *.out
 tags
-jh7110_uboot_spl
+spl_tool

+ 4 - 4
spl_tool/Makefile

@@ -1,15 +1,15 @@
-override CFLAGS=-Wall -O2
+override CFLAGS=-Wall -Wno-unused-result -Wno-format-truncation -O2
 
 SRCS = $(wildcard *.c)
 OBJS = $(SRCS:.c=.o)
 
-all: jh7110_uboot_spl
+all: spl_tool
 
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
-jh7110_uboot_spl: $(OBJS)
+spl_tool: $(OBJS)
 	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@
 
 clean:
-	rm -f *.o jh7110_uboot_spl
+	rm -f *.o spl_tool

+ 0 - 0
spl_tool/jh7110_uboot_spl.c → spl_tool/spl_tool.c