From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 13.97.mail-out.ovh.net ([87.98.173.128] helo=97.mail-out.ovh.net) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QU9A0-0004Li-EM for barebox@lists.infradead.org; Wed, 08 Jun 2011 03:10:25 +0000 Received: from mail185.ha.ovh.net (b9.ovh.net [213.186.33.59]) by 97.mail-out.ovh.net (Postfix) with SMTP id 0836842103B for ; Wed, 8 Jun 2011 05:10:50 +0200 (CEST) From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 8 Jun 2011 04:57:09 +0200 Message-Id: <1307501829-23014-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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: [PATCH] move driver and bus code to drivers/base To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/Makefile | 1 + drivers/base/Makefile | 2 ++ {lib => drivers/base}/driver.c | 0 lib/bus.c => drivers/base/platform_bus.c | 0 lib/Makefile | 2 -- 5 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 drivers/base/Makefile rename {lib => drivers/base}/driver.c (100%) rename lib/bus.c => drivers/base/platform_bus.c (100%) diff --git a/drivers/Makefile b/drivers/Makefile index b1b402f..9a90434 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -1,3 +1,4 @@ +obj-y += base/ obj-y += net/ obj-y += serial/ obj-y += mtd/ diff --git a/drivers/base/Makefile b/drivers/base/Makefile new file mode 100644 index 0000000..f96ae22 --- /dev/null +++ b/drivers/base/Makefile @@ -0,0 +1,2 @@ +obj-y += driver.o +obj-y += platform_bus.o diff --git a/lib/driver.c b/drivers/base/driver.c similarity index 100% rename from lib/driver.c rename to drivers/base/driver.c diff --git a/lib/bus.c b/drivers/base/platform_bus.c similarity index 100% rename from lib/bus.c rename to drivers/base/platform_bus.c diff --git a/lib/Makefile b/lib/Makefile index 8b986d2..d96cfe7 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -5,8 +5,6 @@ obj-y += string.o obj-y += vsprintf.o obj-y += div64.o obj-y += misc.o -obj-y += driver.o -obj-y += bus.o obj-y += parameter.o obj-y += xfuncs.o obj-y += getopt.o -- 1.7.4.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox