X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/45d7da383e46b2a823c34ed922ea59b58e378558..12a79375002ad6ce40b4c568bb39e6dd8854ba8b:/toolchain/kernel-headers/Makefile diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index d2d12c71a..614c40515 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -42,9 +42,9 @@ KMAKE := $(MAKE) -C $(HOST_BUILD_DIR) \ CONFIG_SHELL=$(BASH) define Host/Prepare/all - mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr + mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev $(KMAKE) \ - INSTALL_HDR_PATH="$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/" \ + INSTALL_HDR_PATH="$(BUILD_DIR_TOOLCHAIN)/linux-dev/" \ headers_install if [ -d $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \ mkdir -p $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH); \ @@ -59,16 +59,16 @@ 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/ + $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/ endef define Host/Prepare/post/cris $(CP) \ $(HOST_BUILD_DIR)/include/linux/user.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 /d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/user.h + $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/linux/ + ln -snf $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/arch-v10/arch \ + $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/arch + $(SED) '/#include /d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/user.h endef define Host/Prepare/post/ubicom32 @@ -77,7 +77,7 @@ define Host/Prepare/post/ubicom32 $(HOST_BUILD_DIR)/arch/ubicom32/include/asm/user.h \ $(HOST_BUILD_DIR)/arch/ubicom32/include/asm/page.h \ $(HOST_BUILD_DIR)/arch/ubicom32/include/asm/page_offset.h \ - $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/ + $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/ endef define Host/Prepare/post/mips