1
0
Fork 0
forked from len0rd/rockbox

Consistent style of 'make' messages. Always use ranlib after ar.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-10-23 22:33:39 +00:00
parent 76b2efbb43
commit d1ce4e779e
28 changed files with 55 additions and 41 deletions

View file

@ -104,11 +104,11 @@ rocks: build-codecs
@$(MAKE) -C plugins OBJDIR=$(OBJDIR)/plugins
$(LINKFILE): $(LDS)
@echo "Build LDS file"
@echo "Build $(notdir $@)"
@cat $< | $(CC) -DLOADADDRESS=$(LOADADDRESS) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - >$@
$(LINKROM): $(ROMLDS)
@echo "Build LDS file for Rombox"
@echo "Build $(notdir $@)"
@cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P $(ROMBUILD) - >$@
$(MAXOUTFILE):
@ -118,13 +118,13 @@ $(MAXOUTFILE):
@rm $(MAXINFILE)
$(OBJDIR)/rombox.elf : $(OBJS) $(LINKROM) $(DEPFILE) $(LIBROCKBOX) $(BITMAPLIBS)
@echo "LD rombox.elf"
@echo "LD $(notdir $@)"
@$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lrockbox -lgcc $(LINKBITMAPS) -L$(BUILDDIR)/firmware -T$(LINKROM) -Wl,-Map,$(OBJDIR)/rombox.map
ifndef SIMVER
$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(DEPFILE) $(LIBROCKBOX) $(BITMAPLIBS)
@echo "LD rockbox.elf"
@echo "LD $(notdir $@)"
@$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(BUILDDIR)/firmware -L$(BUILDDIR) -lrockbox $(LINKBITMAPS) -lgcc -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
$(OBJDIR)/rockbox.bin : $(OBJDIR)/rockbox.elf

View file

@ -95,7 +95,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OBJDIR)/%.codec : $(OBJDIR)/%.o $(BUILDDIR)/libcodec.a $(OUTPUT)
@echo "LD $(notdir $@) $^"
@echo "LD $(notdir $@)"
$(SILENT)$(CC) $(CFLAGS) $(SHARED_FLAG) $< -L$(BUILDDIR) $(CODECLIBS) -lcodec -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -137,7 +137,7 @@ $(BUILDDIR)/libcodec.a:
$(SILENT)$(MAKE) -C lib OBJDIR=$(OBJDIR)/lib
$(LINKCODEC): $(LDS)
@echo "build $@"
@echo "build $(notdir $@)"
$(SILENT)cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) -DCODEC $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@
$(BUILDDIR)/libmad.a: libmad

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -33,7 +33,7 @@ OUTPUT = $(BUILDDIR)/libcodec.a
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR+RANLIB $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@

View file

@ -44,8 +44,9 @@ OUTPUT = $(BUILDDIR)/libFLAC.a
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
$(OBJDIR)/libFLAC/%.o: $(APPSDIR)/codecs/libFLAC/%.c
@mkdir -p $(OBJDIR)/libFLAC

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -39,8 +39,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -30,8 +30,9 @@ DIRS =
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@
include $(TOOLSDIR)/make.inc

View file

@ -152,7 +152,7 @@ $(BUILDDIR)/libplugin.a:
$(SILENT)$(MAKE) -C lib OBJDIR=$(OBJDIR)/lib
$(LINKFILE): $(LDS)
@echo "build $@"
@echo "build $(notdir $@)"
$(SILENT)cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@
$(SUBDIRS): $(BITMAPLIBS)

View file

@ -54,7 +54,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin $(LINKBITMAPS) -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -70,7 +70,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin $(LINKBITMAPS) -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -45,7 +45,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -61,7 +61,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -3,7 +3,10 @@
# $Id$
#
# $Log$
# Revision 1.8 2006/10/23 14:09:28 markun
# Revision 1.9 2006/10/23 22:33:36 amiconn
# Consistent style of 'make' messages. Always use ranlib after ar.
#
# Revision 1.8 2006-10-23 14:09:28 markun
# rearrange compiler options to avoid conflicts with header files on FreeBSD
#
# Revision 1.7 2006-10-22 00:21:56 amiconn
@ -96,7 +99,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $@"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -112,7 +115,7 @@ ifeq ($(SIMVER), sdl)
# This is the sdl simulator version
$(OUTPUT): $(OBJS)
@echo "LD $@"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -38,7 +38,7 @@ OUTPUT = $(BUILDDIR)/libplugin.a
all: $(OUTPUT)
$(OUTPUT): $(OBJS)
@echo "AR+RANLIB $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@

View file

@ -48,7 +48,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -64,7 +64,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -48,7 +48,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -64,7 +64,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -61,7 +61,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $@"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -77,7 +77,7 @@ ifeq ($(SIMVER), sdl)
# This is the sdl simulator version
$(OUTPUT): $(OBJS)
@echo "LD $@"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -45,7 +45,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -61,7 +61,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -52,7 +52,7 @@ ifeq ($(SIMVER), x11)
# This is the X11 simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin $(LINKBITMAPS) -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
@ -68,7 +68,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin $(LINKBITMAPS) -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -57,7 +57,7 @@ ifeq ($(SIMVER), sdl)
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
@echo "LD $<"
@echo "LD $(notdir $@)"
@$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"

View file

@ -27,7 +27,7 @@ all: $(OUTPUT) $(EXTRA_TARGETS)
dep: $(DEPFILE)
$(OUTPUT): $(OBJS) $(DEPFILE)
@echo "AR+RANLIB $@"
@echo "AR+RANLIB $(notdir $@)"
$(SILENT)$(AR) ruv $@ $(OBJS) >/dev/null 2>&1
$(SILENT)$(RANLIB) $@

View file

@ -30,6 +30,6 @@ $(DEPFILE): SOURCES
done)
$(OUTPUT): $(OBJS)
@echo "AR+RANLIB $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $+ >/dev/null 2>&1
@$(RANLIB) $@

View file

@ -51,7 +51,7 @@ clean:
@$(RM) $(OBJS) *~ core $(DEPFILE) $(OUTFILE)
$(OUTFILE): $(OBJS)
@echo "AR+RANLIB $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $(OBJS) >/dev/null 2>&1
@$(RANLIB) $@

View file

@ -49,8 +49,9 @@ all: $(OUTFILE)
include $(TOOLSDIR)/make.inc
$(OUTFILE): $(OBJS) $(BUILDDIR)/UI256.bmp
@echo "AR $@"
@echo "AR+RANLIB $(notdir $@)"
@$(AR) ruv $@ $(OBJS) >/dev/null 2>&1
@$(RANLIB) $@
clean:
@echo "cleaning sim"