lkml.org 
[lkml]   [2013]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] arm64: compiling issue for allmodconfig, need "asm/parport.h" by "drivers/parport/parport_pc.c"

Need add the default file in 'asm/Kbuild' just like arm has done.

The build command is:
make EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig
make EXTRA_CFLAGS=-W ARCH=arm64 menuconfig
set "aarch64-linux-gnu-" as cross compiling prefix.
make EXTRA_CFLAGS=-W ARCH=arm64

The related error:
drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory


Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
arch/arm64/include/asm/Kbuild | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
index 79a642d..9005e81 100644
--- a/arch/arm64/include/asm/Kbuild
+++ b/arch/arm64/include/asm/Kbuild
@@ -25,6 +25,7 @@ generic-y += local64.h
generic-y += mman.h
generic-y += msgbuf.h
generic-y += mutex.h
+generic-y += parport.h
generic-y += pci.h
generic-y += percpu.h
generic-y += poll.h
--
1.7.7.6

\
 
 \ /
  Last update: 2013-05-20 07:01    [W:0.103 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site