From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Wed, 24 Sep 2014 13:53:13 +0200 References: <916A03CCEB30DF44AD98D4CFDC7448D00D59BAD8@nooslzsmx1.zenitelcss.com> In-Reply-To: <916A03CCEB30DF44AD98D4CFDC7448D00D59BAD8@nooslzsmx1.zenitelcss.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201409241353.13365.jbe@pengutronix.de> Subject: Re: [ptxdist] Modifing platform rules Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alan Martinovic Hi Alan, On Wednesday 24 September 2014 10:30:36 Alan Martinovic wrote: > I'm trying to get use the kernel from an external source (git repository). > The chapter 6.1. defines this how to do this, however it doesn't suite me > because it requires additional manual work for someone setting up the bui= ld > system. > > I know how to write the .make and .in file for the kernel but in the > userpace configuration (creating kernel.in and kernel.make in /rules) but > that would completely ignore the kernel platform settings which I don't > believe is the intended way. > > What is the proper way to extend the platform rules and .in files? Do it in the platform. But the folder names differ. The *.make files should= be = still in the rules/ directory inside the platform directory, but the = corresponding *.in file must be located in the platforms/ directory. So, if your platform is located in configs/platform-myboard/ the kernel rul= es = must be located in: configs/platform-myboard/platforms/kernel.in configs/platform-myboard/rules/kernel.make Happy hacking Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de