diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-12 20:16:16 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-12 20:16:16 +0000 |
commit | b2c5b9109efa14a02f0581092cb39fac20b58e67 (patch) | |
tree | de5ff1316b2697eec447bfe181f737084d868e87 /toolchain/kernel-headers/kernel-headers-new.makefile | |
parent | b268646b9f881bb499d5ec237eea89f3e7549482 (diff) | |
download | buildroot-novena-b2c5b9109efa14a02f0581092cb39fac20b58e67.tar.gz buildroot-novena-b2c5b9109efa14a02f0581092cb39fac20b58e67.zip |
toolchain: fix cris build with 2.6.28 kernel headers
Patch by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
Diffstat (limited to 'toolchain/kernel-headers/kernel-headers-new.makefile')
-rw-r--r-- | toolchain/kernel-headers/kernel-headers-new.makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index dce9ee8a5..42c943d87 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -86,6 +86,11 @@ $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched HOSTCXX="$(HOSTCXX)" \ INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install; \ ) +ifeq ($(BR2_ARCH),"cris") + ln -s $(LINUX_HEADERS_DIR)/include/arch-v10/arch $(LINUX_HEADERS_DIR)/include/arch + cp -a $(LINUX_HEADERS_UNPACK_DIR)/include/linux/user.h $(LINUX_HEADERS_DIR)/include/linux + $(SED) "/^#include <asm\/page\.h>/d" $(LINUX_HEADERS_DIR)/include/asm/user.h +endif touch $@ endif |