summaryrefslogtreecommitdiff
path: root/bootloader/Makefile
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /bootloader/Makefile
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
downloadrockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz
rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r--bootloader/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile
index 07f347ee16..3e606cdc68 100644
--- a/bootloader/Makefile
+++ b/bootloader/Makefile
@@ -78,7 +78,7 @@ $(MAXOUTFILE):
78 78
79build-bitmapsmono: 79build-bitmapsmono:
80 $(call PRINTS,MAKE in bitmaps/mono)$(MAKE) -C ../apps/bitmaps/mono OBJDIR=$(OBJDIR)/bitmaps/mono 80 $(call PRINTS,MAKE in bitmaps/mono)$(MAKE) -C ../apps/bitmaps/mono OBJDIR=$(OBJDIR)/bitmaps/mono
81 81
82build-bitmapsnative: 82build-bitmapsnative:
83 $(call PRINTS,MAKE in bitmaps/native)$(MAKE) -C ../apps/bitmaps/native OBJDIR=$(OBJDIR)/bitmaps/native 83 $(call PRINTS,MAKE in bitmaps/native)$(MAKE) -C ../apps/bitmaps/native OBJDIR=$(OBJDIR)/bitmaps/native
84 84
@@ -96,16 +96,13 @@ $(OBJDIR)/bootloader.elf : $(OBJS) $(LINKFILE) $(DEPFILE) $(LIBROCKBOX) $(BITMAP
96$(OBJDIR)/bootloader.bin : $(OBJDIR)/bootloader.elf 96$(OBJDIR)/bootloader.bin : $(OBJDIR)/bootloader.elf
97 $(call PRINTS,OBJCOPY $(@F))$(OC) $(if $(filter yes, $(USE_ELF)), -S -x, -O binary) $< $@ 97 $(call PRINTS,OBJCOPY $(@F))$(OC) $(if $(filter yes, $(USE_ELF)), -S -x, -O binary) $< $@
98 98
99$(OBJDIR)/bootloader.asm: $(OBJDIR)/bootloader.bin
100 $(TOOLSDIR)/sh2d -sh1 $< > $@
101
102$(BUILDDIR)/$(BINARY) : $(OBJDIR)/bootloader.bin 99$(BUILDDIR)/$(BINARY) : $(OBJDIR)/bootloader.bin
103 $(call PRINTS,Build bootloader file)$(MKFIRMWARE) $< $@ 100 $(call PRINTS,Build bootloader file)$(MKFIRMWARE) $< $@
104 101
105include $(TOOLSDIR)/make.inc 102include $(TOOLSDIR)/make.inc
106 103
107clean: 104clean:
108 $(call PRINTS,cleaning bootloader)-rm -f $(OBJS) $(BUILDDIR)/$(BINARY) $(OBJDIR)/bootloader.asm \ 105 $(call PRINTS,cleaning bootloader)-rm -f $(OBJS) $(BUILDDIR)/$(BINARY) \
109 $(OBJDIR)/bootloader.bin $(OBJDIR)/bootloader.elf $(OBJDIR)/*.map \ 106 $(OBJDIR)/bootloader.bin $(OBJDIR)/bootloader.elf $(OBJDIR)/*.map \
110 $(LINKFILE) $(MAXOUTFILE) $(DEPFILE) 107 $(LINKFILE) $(MAXOUTFILE) $(DEPFILE)
111 $(SILENT)$(MAKE) -C bitmaps/mono clean OBJDIR=$(OBJDIR)/bitmaps/mono 108 $(SILENT)$(MAKE) -C bitmaps/mono clean OBJDIR=$(OBJDIR)/bitmaps/mono