diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2007-02-15 20:28:08 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2007-02-15 20:28:08 +0000 |
| commit | e393b8e359f2d179c899f7dd37b00fb9c90636b2 (patch) | |
| tree | 3e016808b4c419f99b4feb3ac4459743eb24f852 /apps/plugins | |
| parent | 9745bbc1df4b82a6f43dabc915ab7823d2889d5b (diff) | |
| download | rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.zip rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.tar.gz rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.tar.bz2 rockbox-e393b8e359f2d179c899f7dd37b00fb9c90636b2.tar.xz | |
Replaced some explicit options for target linking with to be consistent with the sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12318 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/Makefile | 3 | ||||
| -rw-r--r-- | apps/plugins/chessbox/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/doom/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/mpegplayer/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/pacbox/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/rockboy/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/searchengine/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/sudoku/Makefile | 2 | ||||
| -rw-r--r-- | apps/plugins/zxbox/Makefile | 2 |
9 files changed, 10 insertions, 9 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 371a04e..4f518a2 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile @@ -89,7 +89,8 @@ $(BITMAPLIBS): $(BUILDDIR)/libplugin%.a: build-% ifndef SIMVER $(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE) $(BUILDDIR)/libplugin.a $(BITMAPLIBS) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -lgcc -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/$*.map + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -lgcc \ + -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/$*.map $(OBJDIR)/%.rock : $(OBJDIR)/%.elf $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ diff --git a/apps/plugins/chessbox/Makefile b/apps/plugins/chessbox/Makefile index 5f1a855..7d86532 100644 --- a/apps/plugins/chessbox/Makefile +++ b/apps/plugins/chessbox/Makefile @@ -40,7 +40,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/chessbox.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/chessbox.map $(OUTPUT): $(OBJDIR)/chessbox.elf diff --git a/apps/plugins/doom/Makefile b/apps/plugins/doom/Makefile index a90a864..46bd728 100644 --- a/apps/plugins/doom/Makefile +++ b/apps/plugins/doom/Makefile @@ -101,7 +101,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/doom.elf: $(OBJS) $(LINKFILE) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) $(LDFLAGS) -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc\ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc\ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/doom.map $(OUTPUT): $(OBJDIR)/doom.elf diff --git a/apps/plugins/mpegplayer/Makefile b/apps/plugins/mpegplayer/Makefile index f31f00f..7b52d2d 100644 --- a/apps/plugins/mpegplayer/Makefile +++ b/apps/plugins/mpegplayer/Makefile @@ -34,7 +34,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lmad -lgcc\ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lmad -lgcc\ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map $(OUTPUT): $(OBJDIR)/mpegplayer.elf diff --git a/apps/plugins/pacbox/Makefile b/apps/plugins/pacbox/Makefile index c88d8ae..7a62d98 100644 --- a/apps/plugins/pacbox/Makefile +++ b/apps/plugins/pacbox/Makefile @@ -34,7 +34,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/pacbox.elf: $(OBJS) $(LINKFILE) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/pacbox.map $(OUTPUT): $(OBJDIR)/pacbox.elf diff --git a/apps/plugins/rockboy/Makefile b/apps/plugins/rockboy/Makefile index 2859936..774be30 100644 --- a/apps/plugins/rockboy/Makefile +++ b/apps/plugins/rockboy/Makefile @@ -44,7 +44,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/rockboy.elf: $(OBJS) $(LINKFILE) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O2 -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -fast -lgcc \ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -fast -lgcc \ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockboy.map $(OUTPUT): $(OBJDIR)/rockboy.elf diff --git a/apps/plugins/searchengine/Makefile b/apps/plugins/searchengine/Makefile index 1c71c9b..b24c89a 100644 --- a/apps/plugins/searchengine/Makefile +++ b/apps/plugins/searchengine/Makefile @@ -31,7 +31,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/searchengine.elf: $(OBJS) $(LINKFILE) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/searchengine.map $(OUTPUT): $(OBJDIR)/searchengine.elf diff --git a/apps/plugins/sudoku/Makefile b/apps/plugins/sudoku/Makefile index debd9fe..ce3c202 100644 --- a/apps/plugins/sudoku/Makefile +++ b/apps/plugins/sudoku/Makefile @@ -38,7 +38,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/sudoku.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/sudoku.map $(OUTPUT): $(OBJDIR)/sudoku.elf diff --git a/apps/plugins/zxbox/Makefile b/apps/plugins/zxbox/Makefile index 3ca5d30..49f16a0 100644 --- a/apps/plugins/zxbox/Makefile +++ b/apps/plugins/zxbox/Makefile @@ -43,7 +43,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/zxbox.elf: $(OBJS) $(LINKFILE) - $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/zxbox.map $(OUTPUT): $(OBJDIR)/zxbox.elf |