mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 04:26:28 +02:00
[toolchain] more kernel headers fixes for cris
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14128 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
19b3f32573
commit
572f8170e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user