]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/Makefile
Fix MIPS build problem
[karo-tx-uboot.git] / examples / Makefile
index 2897ba16383cd699b72fcc453000962edf203609..b9056dd16149394e13dbbf96f9fda0ec05107b9c 100644 (file)
@@ -30,6 +30,7 @@ BIN   = hello_world.bin
 
 ifeq ($(CPU),mips)
 SREC =
 
 ifeq ($(CPU),mips)
 SREC =
+BIN =
 endif
 
 # The following example is pretty 8xx specific...
 endif
 
 # The following example is pretty 8xx specific...
@@ -62,7 +63,7 @@ $(LIB): .depend $(LIBOBJS)
        $(OBJCOPY) -O srec $(<:.o=) $@
 
 %.bin: %.srec
        $(OBJCOPY) -O srec $(<:.o=) $@
 
 %.bin: %.srec
-       $(OBJCOPY) -O binary $< $@
+       $(OBJCOPY) -O binary $< $@ 2>/dev/null
 
 #########################################################################
 
 
 #########################################################################