]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - Makefile
sh: Fix up rsk7203 target for out of tree build
[karo-tx-uboot.git] / Makefile
index ecde92b4c1942e6fad3e5a6d51f88d9100dee880..8fb1e2ae2ffbfa54dc55e9161de8f5ea2c440fb1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3230,8 +3230,8 @@ mimc200_config            :       unconfig
 ## sh2 (Renesas SuperH)
 #########################################################################
 rsk7203_config: unconfig
-       @ >include/config.h
-       @echo "#define CONFIG_RSK7203 1" >include/config.h
+       @mkdir -p $(obj)include
+       @echo "#define CONFIG_RSK7203 1" > $(obj)/include/config.h
        @$(MKCONFIG) -a $(@:_config=) sh sh2 rsk7203 renesas
 
 #########################################################################