+ mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/arch
+ $(CP) \
+ $(HOST_BUILD_DIR)/include/asm-cris/arch/elf.h \
+ $(HOST_BUILD_DIR)/include/asm-cris/arch/page.h \
+ $(HOST_BUILD_DIR)/include/asm-cris/arch/ptrace.h \
+ $(HOST_BUILD_DIR)/include/asm-cris/arch/user.h \
+ $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/arch/
+ endef
+else
+ define Host/Prepare/post/cris
+ $(CP) \
+ $(HOST_BUILD_DIR)/include/linux/user.h \
+ $(HOST_BUILD_DIR)/include/linux/autoconf.h \
+ $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/
+ ln -snf $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/arch-v10/arch \
+ $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/arch
+ $(SED) '/#include <asm\/page\.h>/d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/user.h
+ endef
+endif
+
+define Host/Prepare/post/mips
+ $(call Host/Prepare/lzma)
+endef
+
+define Host/Prepare/post/mipsel
+ $(call Host/Prepare/lzma)
+endef
+
+define Host/Prepare
+ $(call Kernel/Prepare/Default)
+ ln -sf linux-$(LINUX_VERSION) $(BUILD_DIR_TOOLCHAIN)/linux
+ $(SED) 's/@expr length/@-expr length/' $(HOST_BUILD_DIR)/Makefile