From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SbnOa-0003Uf-5a for barebox@lists.infradead.org; Tue, 05 Jun 2012 06:37:37 +0000 Date: Tue, 5 Jun 2012 08:37:30 +0200 From: Sascha Hauer Message-ID: <20120605063730.GK30400@pengutronix.de> References: <1338542601-28151-1-git-send-email-antonynpavlov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1338542601-28151-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/2] MIPS: make possible board-specific header files To: Antony Pavlov Cc: barebox@lists.infradead.org On Fri, Jun 01, 2012 at 01:23:20PM +0400, Antony Pavlov wrote: > This patch makes possible to put a board-specific > header file (e. g. foobar.h) to arch/mips/boards/*/include/board/. > > Header file usage: > #include > > Signed-off-by: Antony Pavlov Applied, thanks Sascha > --- > arch/mips/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/Makefile b/arch/mips/Makefile > index f28c21d..6b7dae9 100644 > --- a/arch/mips/Makefile > +++ b/arch/mips/Makefile > @@ -96,6 +96,8 @@ else > MACH := > endif > > +CPPFLAGS += -I$(BOARD)/include > + > common-y += $(BOARD) $(MACH) > common-y += arch/mips/lib/ > common-y += arch/mips/boot/ > -- > 1.7.10 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox