Move some (hopefully) un-necessary quotes in Makefiles for Mike

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-15 17:43:29 +00:00
parent 3c65f6bea1
commit f751d36eee
95 changed files with 151 additions and 116 deletions
+20 -7
View File
@@ -701,17 +701,30 @@
makefiles in the build (once it is installed). This make fragment makefiles in the build (once it is installed). This make fragment
should define: should define:
<ul> <ul>
<li>Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP</li> <li>Tools: <code>CC</code>, <code>LD</code>, <code>AR</code>, <code>NM</code>, <code>OBJCOPY</code>, <code>OBJDUMP</code></li>
<li>Tool options: CFLAGS, LDFLAGS</li> <li>Tool options: <code>CFLAGS</code>, <code>LDFLAGS</code></li>
<li>COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros</li>
</ul> </ul>
<p> <p>
When this makefile fragment runs, it will be passed TOPDIR which When this makefile fragment runs, it will be passed <code>TOPDIR</code> which
is the path to the root directory of the build. This makefile is the path to the root directory of the build. This makefile
fragment may include ${TOPDIR}/.config to perform configuration fragment should include:
specific settings. For example, the CFLAGS will most likely be
different if CONFIG_DEBUG=y.
</p> </p>
<ul>
<li><code>$(TOPDIR)/.config </code> : Nuttx configuration</li>
<li><code>$(TOPDIR)/tools/Config.mk</code> : Common definitions</li>
</ul>
<p>
Definitions in the <code>Make.defs</code> file probably depend on some of the
settings in the .<code>config</code> file. For example, the <code>CFLAGS</code> will most likely be
different if <code>CONFIG_DEBUG=y</code>.
</p>
<p>
The included <code>tools/Config.mk</code> file contains additional definitions that may
be overriden in the architecture-specific Make.defs file as necessary:
</p>
<ul>
<li><code>COMPILE</code>, <code>ASSEMBLE</code>, <code>ARCHIVE</code>, <code>CLEAN</code>, and <code>MKDEP</code> macros</li>
</ul>
</li> </li>
<li> <li>
<p> <p>
+1 -1
View File
@@ -148,7 +148,7 @@ up_mem.h: pass1.mem
# Combine all objects in this directory into a library # Combine all objects in this directory into a library
libarch$(LIBEXT): up_mem.h $(OBJS) libarch$(LIBEXT): up_mem.h $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
# This is a kludge to work around some conflicting symbols in libsdcc.liXqueb # This is a kludge to work around some conflicting symbols in libsdcc.liXqueb
+1 -1
View File
@@ -132,7 +132,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -130,7 +130,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -125,7 +125,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -123,7 +123,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
# The architecture-specific library # The architecture-specific library
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
# Generate the final NuttX binary by linking the host-specific objects with the NuttX # Generate the final NuttX binary by linking the host-specific objects with the NuttX
# specific objects (with munged names) # specific objects (with munged names)
+1 -1
View File
@@ -121,7 +121,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -155,7 +155,7 @@ $(HOSTOBJS): %$(OBJEXT): %.c
# The architecture-specific library # The architecture-specific library
libarch$(LIBEXT): $(NUTTXOBJS) libarch$(LIBEXT): $(NUTTXOBJS)
$(call ARCHIVE, $@, "$(NUTTXOBJS)") $(call ARCHIVE, $@, $(NUTTXOBJS))
# The "board"-specific library. Of course, there really are no boards in # The "board"-specific library. Of course, there really are no boards in
# the simulation. However, this is a good place to keep parts of the simulation # the simulation. However, this is a good place to keep parts of the simulation
+1 -1
View File
@@ -131,7 +131,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -88,7 +88,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
@$(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) @$(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -134,7 +134,7 @@ endif
# Combine all objects in this directory into a library # Combine all objects in this directory into a library
libarch$(LIBEXT): up_mem.h asm_mem.h $(OBJS) libarch$(LIBEXT): up_mem.h asm_mem.h $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
# This builds the libboard library in the board/ subdirectory # This builds the libboard library in the board/ subdirectory
+1 -1
View File
@@ -86,7 +86,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS) libarch$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
board/libboard$(LIBEXT): board/libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES) $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
+1 -1
View File
@@ -78,7 +78,7 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
$(BIN): $(BINFMT_OBJS) $(BIN): $(BINFMT_OBJS)
$(call ARCHIVE, $@, "$(BINFMT_OBJS)") $(call ARCHIVE, $@, $(BINFMT_OBJS))
.depend: Makefile $(BINFMT_SRCS) .depend: Makefile $(BINFMT_SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep
+12 -3
View File
@@ -103,14 +103,23 @@ Make.defs -- This makefile fragment provides architecture and
Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP
Tool options: CFLAGS, LDFLAGS Tool options: CFLAGS, LDFLAGS
COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros
When this makefile fragment runs, it will be passed TOPDIR which When this makefile fragment runs, it will be passed TOPDIR which
is the path to the root directory of the build. This makefile is the path to the root directory of the build. This makefile
fragment may include ${TOPDIR}/.config to perform configuration fragment should include:
specific settings. For example, the CFLAGS will most likely be
$(TOPDIR)/.config : Nuttx configuration
$(TOPDIR)/tools/Config.mk : Common definitions
Definitions in the Make.defs file probably depend on some of the
settings in the .config file. For example, the CFLAGS will most likely be
different if CONFIG_DEBUG=y. different if CONFIG_DEBUG=y.
The included tools/Config.mk file contains additional definitions that may
be overriden in the architecture-specific Make.defs file as necessary:
COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros
defconfig -- This is a configuration file similar to the Linux defconfig -- This is a configuration file similar to the Linux
configuration file. In contains variable/value pairs like: configuration file. In contains variable/value pairs like:
+1 -1
View File
@@ -77,7 +77,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -60,7 +60,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -60,7 +60,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -66,7 +66,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -66,7 +66,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -68,7 +68,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+2 -2
View File
@@ -166,11 +166,11 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
+1 -1
View File
@@ -64,7 +64,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
+3 -2
View File
@@ -166,16 +166,17 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
endef endef
endif endif
endif
define CLEAN define CLEAN
$(Q) rm -f *.obj *.src *.lib *.hex *.lod *.lst $(Q) rm -f *.obj *.src *.lib *.hex *.lod *.lst
+2 -2
View File
@@ -166,11 +166,11 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
+2 -2
View File
@@ -166,11 +166,11 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
+2 -2
View File
@@ -166,11 +166,11 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
+2 -2
View File
@@ -166,11 +166,11 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
+2 -2
View File
@@ -166,11 +166,11 @@ endef
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ARCHIVE define ARCHIVE
echo "AR: $2"; echo "AR: $2";
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
endef endef
else else
define ARCHIVE define ARCHIVE
$(Q) for __obj in $(subst ",,$(2)) ; do \ $(Q) for __obj in $(2) ; do \
echo "AR: $$__obj"; \ echo "AR: $$__obj"; \
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \ "$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
done done
+1 -1
View File
@@ -71,7 +71,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -107,7 +107,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -86,7 +86,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -67,7 +67,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -104,7 +104,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -54,7 +54,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -77,7 +77,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -77,7 +77,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+1 -1
View File
@@ -66,7 +66,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@) $(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS) libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, "$(OBJS)") $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep

Some files were not shown because too many files have changed in this diff Show More