- endef
-else
- define Host/Prepare/all
- mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include
- cp -pLR $(HOST_BUILD_DIR)/include/asm $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/
- cp -pLR $(HOST_BUILD_DIR)/include/asm-generic $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/
- cp -pLR $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH) $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/
- cp -pLR $(HOST_BUILD_DIR)/include/linux $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/
- endef
-endif
-
-# XXX: the following is needed to build lzma-loader
-define Host/Prepare/lzma
- $(CP) \
- $(HOST_BUILD_DIR)/include/asm-mips/asm.h \
- $(HOST_BUILD_DIR)/include/asm-mips/regdef.h \
- $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/