summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/Makefile
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2021-12-15 21:04:28 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2021-12-24 18:05:53 +0100
commitc876d3bbefe0dc00c27ca0c12d29da5874946962 (patch)
tree69f468a185a369b01998314bc3ecc19b70f4fcaa /rbutil/ipodpatcher/Makefile
parent6c6f0757d7a902feb293be165d1490c42bc8e7ad (diff)
downloadrockbox-c876d3bbefe0dc00c27ca0c12d29da5874946962.tar.gz
rockbox-c876d3bbefe0dc00c27ca0c12d29da5874946962.zip
rbutil: Merge rbutil with utils folder.
rbutil uses several components from the utils folder, and can be considered part of utils too. Having it in a separate folder is an arbitrary split that doesn't help anymore these days, so merge them. This also allows other utils to easily use libtools.make without the need to navigate to a different folder. Change-Id: I3fc2f4de19e3e776553efb5dea5f779dfec0dc21
Diffstat (limited to 'rbutil/ipodpatcher/Makefile')
-rw-r--r--rbutil/ipodpatcher/Makefile53
1 files changed, 0 insertions, 53 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile
deleted file mode 100644
index 4254995d22..0000000000
--- a/rbutil/ipodpatcher/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# __________ __ ___.
-# Open \______ \ ____ ____ | | _\_ |__ _______ ___
-# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
-# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
-# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
-# \/ \/ \/ \/ \/
-# $Id$
-#
-
-CFLAGS += -Wall -W
-
-# Build with "make BOOTOBJS=1" to build with embedded bootloaders and the
-# --install option and interactive mode. You need the full set of Rockbox
-# bootloaders in this directory - download them from
-# http://download.rockbox.org/bootloader/ipod/bootloaders.zip
-
-# Releases of ipodpatcher are created with "make RELEASE=1". This
-# enables BOOTOBJS and uses the VERSION string defined in main.c
-ifdef RELEASE
-CFLAGS += -DRELEASE
-BOOTOBJS=1
-endif
-
-ifdef BOOTOBJS
-BOOTSRC = ipod1g2g.c ipod3g.c ipod4g.c ipodcolor.c ipodmini1g.c \
- ipodmini2g.c ipodnano1g.c ipodvideo.c ipodnano2g.c
-CFLAGS += -DWITH_BOOTOBJS
-endif
-
-# additional frameworks to link on on OS X
-LDOPTS_OSX = -framework CoreFoundation -framework IOKit
-
-LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \
- ipodio-posix.c ipodio-win32-scsi.c ipodio-win32.c
-SOURCES = main.c $(BOOTSRC)
-ipodpatcher: SOURCES+= ipodio-posix.c
-
-OUTPUT = ipodpatcher
-include ../libtools.make
-
-ipodpatcher.exe: $(OBJDIR)ipodpatcher-rc.o
-$(OBJDIR)ipodpatcher-rc.o: ipodpatcher.rc ipodpatcher.manifest
- @echo WINDRES $(notdir $<)
- $(SILENT)$(CROSS)$(WINDRES) -i $< -o $@
-
-%.c: bootloader-%.ipod $(BIN2C)
- @echo BIN2C $<
- $(SILENT)$(BIN2C) -i $< $*
-
-%.c: bootloader-%.ipodx $(BIN2C)
- @echo BIN2C $<
- $(SILENT)$(BIN2C) -i $< $*
-