]> git.sur5r.net Git - u-boot/blobdiff - board/samsung/origen/Makefile
ums: move IO support code to common location
[u-boot] / board / samsung / origen / Makefile
index 31e88f4424600e80e411c720e448cfcb10b49d90..1add9fe626fd17f67f7c209db5eddc63eb6b357f 100644 (file)
@@ -5,6 +5,9 @@
 #
 
 ifdef CONFIG_SPL_BUILD
+# necessary to create built-in.o
+obj- := __dummy__.o
+
 hostprogs-y := tools/mkorigenspl
 always := $(hostprogs-y)
 
@@ -13,7 +16,7 @@ always := $(hostprogs-y)
 #
 # TODO:
 # Fix the root cause in tools/mkorigenspl.c and delete the following work-around
-$(obj)tools/mkorigenspl: HOSTCFLAGS:=$(filter-out -O2,$(HOSTCFLAGS))
+$(obj)/tools/mkorigenspl: HOSTCFLAGS:=$(filter-out -O2,$(HOSTCFLAGS))
 else
 obj-y  += origen.o
 endif