diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-09-13 15:24:59 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-09-13 15:24:59 +0000 |
commit | 022463b46c3911830d6144acd1c2957ac9fe1f2d (patch) | |
tree | 5c4f87f0ece2f7f4df42626b747efe07fe7a9812 /tools/checkwps/Makefile | |
parent | c0f1c49178b4c205e1c990ea2fb25a417305528c (diff) | |
download | rockbox-022463b46c3911830d6144acd1c2957ac9fe1f2d.tar.gz rockbox-022463b46c3911830d6144acd1c2957ac9fe1f2d.zip |
Repair build-all.sh and clean-all.sh.
Make it so that it runs ../configure and make for each target. This makes the wrapper-Makefile obsolete.
It moves the binaries to tools/checkwps/output. NOTE: Something is fishy with the creative players (it builds them, but can't move them), because the configure target name and modelname differs (not sure how to fix that).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22696 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps/Makefile')
-rw-r--r-- | tools/checkwps/Makefile | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tools/checkwps/Makefile b/tools/checkwps/Makefile deleted file mode 100644 index faa75efac3..0000000000 --- a/tools/checkwps/Makefile +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | ||
11 | CFLAGS+=-mno-cygwin | ||
12 | EXT = .exe | ||
13 | else | ||
14 | ifeq ($(findstring MINGW,$(shell uname)),MINGW) | ||
15 | EXT = .exe | ||
16 | CC = mingw32-gcc | ||
17 | endif | ||
18 | endif | ||
19 | |||
20 | # This is a wrapper for checkwps.make | ||
21 | APPSDIR=. | ||
22 | ROOTDIR=../.. | ||
23 | BUILDDIR=. | ||
24 | BINARY=checkwps.$(MODELNAME)$(EXT) | ||
25 | HOSTCC=$(CC) | ||
26 | TARGET=-D$(TARGETNAME) | ||
27 | include checkwps.make | ||
28 | |||
29 | all: | ||
30 | @echo To build, run the buildall.sh script | ||
31 | |||
32 | checkwps: $(BUILDDIR)/$(BINARY) | ||
33 | @echo foo > /dev/null | ||
34 | |||
35 | clean: | ||
36 | rm -f checkwps.$(MODELNAME)$(EXT) | ||