diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-01-21 01:53:05 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-01-21 01:53:05 +0000 |
commit | ed4d79b529ee917418e48c3097796e46850502a1 (patch) | |
tree | fcc6d80989afcd447eebbe48a0bafe9a446c72a9 /toolchain/kernel-headers | |
parent | 4c04d8b3c1a6f73534813087e47ec75a89989cb2 (diff) | |
download | mtk-20170518-ed4d79b529ee917418e48c3097796e46850502a1.zip mtk-20170518-ed4d79b529ee917418e48c3097796e46850502a1.tar.gz mtk-20170518-ed4d79b529ee917418e48c3097796e46850502a1.tar.bz2 |
more kernel headers fixes for cris
SVN-Revision: 14128
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 0493e2a..d787cf0 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -78,12 +78,27 @@ define Build/Prepare/lzma $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/ endef -# XXX: the following is needed to build final gcc on cris +# XXX: the following are needed to build a cris toolchain define Build/Prepare/post/cris + $(CP) \ + $(PKG_BUILD_DIR)/include/linux/user.h \ + $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/ + $(CP) \ + $(PKG_BUILD_DIR)/include/asm-cris/elf.h \ + $(PKG_BUILD_DIR)/include/asm-cris/page.h \ + $(PKG_BUILD_DIR)/include/asm-cris/user.h \ + $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/ mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/arch $(CP) \ + $(PKG_BUILD_DIR)/include/asm-cris/arch/elf.h \ + $(PKG_BUILD_DIR)/include/asm-cris/arch/page.h \ $(PKG_BUILD_DIR)/include/asm-cris/arch/ptrace.h \ + $(PKG_BUILD_DIR)/include/asm-cris/arch/user.h \ $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/arch/ + $(CP) \ + $(PKG_BUILD_DIR)/include/asm-generic/memory_model.h \ + $(PKG_BUILD_DIR)/include/asm-generic/page.h \ + $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm-generic/ endef define Build/Prepare/post/mips |