From ed91b8b7cbbc9fd9b1c6ed48ea261ea997c53d39 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 22 Feb 2002 07:34:44 +0000 Subject: Build fix for arm --- debian/rules | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 72c028428..aeb33c89f 100755 --- a/debian/rules +++ b/debian/rules @@ -42,7 +42,16 @@ build-stamp: debian/control dh_testdir # Brute force method of getting kernel headers - tar --bzip2 -xf /usr/src/$(kernel_source).tar.bz2 $(kernel_source)/include + tar --bzip2 -xf /usr/src/$(kernel_source).tar.bz2 \ + $(kernel_source)/include + + # Hack to get include/asm-arm/arch directory. This should + # stay here, and not move to the top-level Makefile, since + # it adds a link _in the kernel source_, which is almost + # certainly wrong in most situations. +#ifeq ($(target),arm) + ln -s arch-sa1100 $(kernel_source)/include/asm-arm/arch +#endif ifneq ($(target),mipsel) cp extra/Configs/Config.$(target) Config -- cgit v1.2.3