From d34f76265383f37a4f8eb0ce928283433a9149e6 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 12 Jan 2009 19:03:39 +0000 Subject: [PATCH] [cris] fix missing ptrace.h needed to build final gcc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13995 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/kernel-headers/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 2274ee244..474ff6c71 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2008 OpenWrt.org +# Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -106,6 +106,14 @@ define Build/Install/post/lzma $(TOOLCHAIN_DIR)/usr/include/asm/ endef +# XXX: the following is needed to build final gcc on cris +define Build/Install/post/cris + mkdir -p $(TOOLCHAIN_DIR)/usr/include/asm/arch + $(CP) \ + $(PKG_BUILD_DIR)/include/asm-cris/arch/ptrace.h \ + $(TOOLCHAIN_DIR)/usr/include/asm/arch/ +endef + define Build/Install/post/mips $(call Build/Install/post/lzma) endef -- 2.20.1