Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751881AbdITJmp (ORCPT ); Wed, 20 Sep 2017 05:42:45 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:53632 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751584AbdITJmm (ORCPT ); Wed, 20 Sep 2017 05:42:42 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com v8K9gZip000820 X-Nifty-SrcIP: [209.85.161.172] X-Google-Smtp-Source: AOwi7QDA1y3lOFh1WGCkGA2VuCcNO6YnjNRBwF+4T8peh6mwT/lLKpiaaD2xRaPK2qUmXGb1ni52HvnPkaS4dkgUGro= MIME-Version: 1.0 In-Reply-To: <20170912215715.4186-19-palmer@dabbelt.com> References: <20170912215715.4186-1-palmer@dabbelt.com> <20170912215715.4186-19-palmer@dabbelt.com> From: Masahiro Yamada Date: Wed, 20 Sep 2017 18:41:52 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 18/18] RISC-V: Build Infrastructure To: Palmer Dabbelt Cc: "Peter Zijlstra (Intel)" , Thomas Gleixner , Jason Cooper , Marc Zyngier , Arnd Bergmann , dmitriy@oss-tech.org, Michal Marek , albert@sifive.com, Will Deacon , boqun.feng@gmail.com, oleg@redhat.com, Ingo Molnar , Daniel Lezcano , Greg Kroah-Hartman , Jiri Slaby , "David S. Miller" , Mauro Carvalho Chehab , hverkuil@xs4all.nl, Randy Dunlap , viro@zeniv.linux.org.uk, Masami Hiramatsu , Frederic Weisbecker , "Luis R. Rodriguez" , dledford@redhat.com, bart.vanassche@sandisk.com, sstabellini@kernel.org, Michael Ellerman , Russell King , Paul Gortmaker , Nicolas Dichtel , Guenter Roeck , Heiko Carstens , Martin Schwidefsky , Geert Uytterhoeven , Andrew Morton , Andy Shevchenko , jiri@mellanox.com, Vineet Gupta , Dave Airlie , Jeremy Kerr , Chris Wilson , Jason@zx2c4.com, Paul McKenney , Neal Cardwell , Linux Kernel Mailing List , Linux Kbuild mailing list , patches@groups.riscv.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2236 Lines: 83 2017-09-13 6:57 GMT+09:00 Palmer Dabbelt : > This patch contains all the build infrastructure that actually enables > the RISC-V port. This includes Makefiles, linker scripts, and Kconfig > files. It also contains the only top-level change, which adds RISC-V to > the list of architectures that need a sed run to produce the ARCH > variable when building locally. > > Signed-off-by: Palmer Dabbelt > --- /dev/null > +++ b/arch/riscv/include/asm/Kbuild > @@ -0,0 +1,61 @@ > +generic-y += bugs.h > +generic-y += cacheflush.h > +generic-y += checksum.h > +generic-y += clkdev.h > +generic-y += cputime.h > +generic-y += device.h > +generic-y += div64.h > +generic-y += dma.h > +generic-y += dma-contiguous.h > +generic-y += emergency-restart.h > +generic-y += errno.h > +generic-y += exec.h > +generic-y += fb.h > +generic-y += fcntl.h > +generic-y += ftrace.h > +generic-y += futex.h > +generic-y += hardirq.h > +generic-y += hash.h > +generic-y += hw_irq.h > +generic-y += ioctl.h > +generic-y += ioctls.h > +generic-y += ipcbuf.h > +generic-y += irq_regs.h > +generic-y += irq_work.h > +generic-y += kdebug.h > +generic-y += kmap_types.h > +generic-y += kvm_para.h > +generic-y += local.h > +generic-y += mm-arch-hooks.h > +generic-y += mman.h > +generic-y += module.h > +generic-y += msgbuf.h > +generic-y += mutex.h > +generic-y += param.h > +generic-y += percpu.h > +generic-y += poll.h > +generic-y += posix_types.h > +generic-y += preempt.h > +generic-y += resource.h > +generic-y += scatterlist.h > +generic-y += sections.h > +generic-y += sembuf.h > +generic-y += setup.h > +generic-y += shmbuf.h > +generic-y += shmparam.h > +generic-y += signal.h > +generic-y += socket.h > +generic-y += sockios.h > +generic-y += stat.h > +generic-y += statfs.h > +generic-y += swab.h > +generic-y += termbits.h > +generic-y += termios.h > +generic-y += topology.h > +generic-y += trace_clock.h > +generic-y += types.h > +generic-y += unaligned.h > +generic-y += user.h > +generic-y += vga.h > +generic-y += vmlinux.lds.h > +generic-y += xor.h Please split out exported ones into arch/riscv/include/uapi/asm/Kbuild. Otherwise, "make headers_install" will fail. -- Best Regards Masahiro Yamada