|
@@ -38,7 +38,13 @@ ELF-mpc8260 += mem_to_mem_idma2intr
|
|
ELF-ppc += sched
|
|
ELF-ppc += sched
|
|
ELF-oxc += eepro100_eeprom
|
|
ELF-oxc += eepro100_eeprom
|
|
|
|
|
|
-ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU))
|
|
|
|
|
|
+#
|
|
|
|
+# Some versions of make do not handle trailing white spaces properly;
|
|
|
|
+# leading to build failures. The problem was found with GNU Make 3.80.
|
|
|
|
+# Using 'strip' as a workaround for the problem.
|
|
|
|
+#
|
|
|
|
+ELF := $(strip $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU)))
|
|
|
|
+
|
|
SREC = $(addsuffix .srec,$(ELF))
|
|
SREC = $(addsuffix .srec,$(ELF))
|
|
BIN = $(addsuffix .bin,$(ELF))
|
|
BIN = $(addsuffix .bin,$(ELF))
|
|
|
|
|