ensure an empty BUILD_DIR variable is passed down u-boot's makefile
authorMichael Büsch <mb@bu3sch.de>
Wed, 3 Nov 2010 18:26:26 +0000 (18:26 +0000)
committerMichael Büsch <mb@bu3sch.de>
Wed, 3 Nov 2010 18:26:26 +0000 (18:26 +0000)
SVN-Revision: 23832

tools/mkimage/Makefile

index c2cbb53..beeecb8 100644 (file)
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk
 define Host/Compile
        rm -f $(HOST_BUILD_DIR)/tools/.depend
        touch $(HOST_BUILD_DIR)/include/config.{h,mk} $(HOST_BUILD_DIR)/include/autoconf.mk{.dep,}
 define Host/Compile
        rm -f $(HOST_BUILD_DIR)/tools/.depend
        touch $(HOST_BUILD_DIR)/include/config.{h,mk} $(HOST_BUILD_DIR)/include/autoconf.mk{.dep,}
-       $(MAKE) -C $(HOST_BUILD_DIR) SUBDIRS=tools BIN_FILES-y="mkimage" tools
+       $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= SUBDIRS=tools BIN_FILES-y="mkimage" tools
 endef
 
 define Host/Install
 endef
 
 define Host/Install