[U-Boot-Users] Re-send PATCH Drivers Reorganisation

Hi,
I will send the patches about the drivers reorganization Its test on arm and PPC. And currently test an Mips and avr32 and SH.
A second way of patch will be send later to work with Grant Likley kconfig patch.
Best Regards,
Jean-Christophe PLAGNIOL-VILLARD

From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 00:32:25 +0200 Subject: [PATCH] drivers: initial tree import for drivers reorganization
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- Makefile | 17 +++++++++++++++++ drivers/ata/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/block/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/char/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/eeprom/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/hwmon/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/i2c/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/ide/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/input/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/leds/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/misc/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/mtd/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/pci/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/pcmcia/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/sata/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/scsi/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/video/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ 18 files changed, 782 insertions(+), 0 deletions(-) create mode 100644 drivers/ata/Makefile create mode 100644 drivers/block/Makefile create mode 100644 drivers/char/Makefile create mode 100644 drivers/eeprom/Makefile create mode 100644 drivers/hwmon/Makefile create mode 100644 drivers/i2c/Makefile create mode 100644 drivers/ide/Makefile create mode 100644 drivers/input/Makefile create mode 100644 drivers/leds/Makefile create mode 100644 drivers/misc/Makefile create mode 100644 drivers/mtd/Makefile create mode 100644 drivers/pci/Makefile create mode 100644 drivers/pcmcia/Makefile create mode 100644 drivers/sata/Makefile create mode 100644 drivers/scsi/Makefile create mode 100644 drivers/usb/Makefile create mode 100644 drivers/video/Makefile
diff --git a/Makefile b/Makefile index 8d500f5..b166e70 100644 --- a/Makefile +++ b/Makefile @@ -208,18 +208,35 @@ LIBS += disk/libdisk.a LIBS += rtc/librtc.a LIBS += dtt/libdtt.a LIBS += drivers/libdrivers.a +LIBS += drivers/ata/libata.a LIBS += drivers/bios_emulator/libatibiosemu.a +LIBS += drivers/block/libblock.a +LIBS += drivers/char/libchar.a +LIBS += drivers/eeprom/libeeprom.a +LIBS += drivers/hwmon/libhwmon.a +LIBS += drivers/i2c/libi2c.a +LIBS += drivers/ide/libide.a +LIBS += drivers/input/libinput.a +LIBS += drivers/leds/libleds.a +LIBS += drivers/misc/libmisc.a +LIBS += drivers/mtd/libmtd.a LIBS += drivers/nand/libnand.a LIBS += drivers/nand_legacy/libnand_legacy.a LIBS += drivers/net/libnet.a +LIBS += drivers/pci/libpci.a +LIBS += drivers/pcmcia/libpcmcia.a ifeq ($(CPU),mpc83xx) LIBS += drivers/qe/qe.a endif ifeq ($(CPU),mpc85xx) LIBS += drivers/qe/qe.a endif +LIBS += drivers/sata/libsata.a +LIBS += drivers/scsi/libscsi.a LIBS += drivers/serial/libserial.a LIBS += drivers/sk98lin/libsk98lin.a +LIBS += drivers/usb/libusb.a +LIBS += drivers/video/libvideo.a LIBS += post/libpost.a post/drivers/libpostdrivers.a LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \ "post/lib_$(ARCH)/libpost$(ARCH).a"; fi) diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile new file mode 100644 index 0000000..623eac7 --- /dev/null +++ b/drivers/ata/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libata.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS)
+ +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/block/Makefile b/drivers/block/Makefile new file mode 100644 index 0000000..1d36fac --- /dev/null +++ b/drivers/block/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libblock.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/char/Makefile b/drivers/char/Makefile new file mode 100644 index 0000000..90e97f3 --- /dev/null +++ b/drivers/char/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libchar.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/eeprom/Makefile b/drivers/eeprom/Makefile new file mode 100644 index 0000000..0637a7d --- /dev/null +++ b/drivers/eeprom/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libeeprom.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile new file mode 100644 index 0000000..59227ad --- /dev/null +++ b/drivers/hwmon/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libhwmon.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile new file mode 100644 index 0000000..adc20e6 --- /dev/null +++ b/drivers/i2c/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libi2c.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile new file mode 100644 index 0000000..cd8237c --- /dev/null +++ b/drivers/ide/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libide.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/input/Makefile b/drivers/input/Makefile new file mode 100644 index 0000000..ec9cda2 --- /dev/null +++ b/drivers/input/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libinput.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile new file mode 100644 index 0000000..6b71f7a --- /dev/null +++ b/drivers/leds/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libleds.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile new file mode 100644 index 0000000..da43154 --- /dev/null +++ b/drivers/misc/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libmisc.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile new file mode 100644 index 0000000..bc9bbde --- /dev/null +++ b/drivers/mtd/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libmtd.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile new file mode 100644 index 0000000..a32c379 --- /dev/null +++ b/drivers/pci/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libpci.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile new file mode 100644 index 0000000..b037acf --- /dev/null +++ b/drivers/pcmcia/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libpcmcia.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/sata/Makefile b/drivers/sata/Makefile new file mode 100644 index 0000000..4c2def2 --- /dev/null +++ b/drivers/sata/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libsata.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile new file mode 100644 index 0000000..00fa61d --- /dev/null +++ b/drivers/scsi/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libscsi.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile new file mode 100644 index 0000000..4468d78 --- /dev/null +++ b/drivers/usb/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libusb.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### diff --git a/drivers/video/Makefile b/drivers/video/Makefile new file mode 100644 index 0000000..d33aa0c --- /dev/null +++ b/drivers/video/Makefile @@ -0,0 +1,45 @@ +# +# (C) Copyright 2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# Jean-Christophe PLAGNIOL-VILLARD, plagnioj@jcrosoft.com. +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB := $(obj)libvideo.a + +COBJS-y := + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################

From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 00:39:13 +0200 Subject: [PATCH] drivers/ata: move ata drivers to drivers/ata
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/Makefile | 2 +- drivers/ata/Makefile | 2 +- drivers/{ => ata}/ata_piix.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/{ => ata}/ata_piix.c (100%)
diff --git a/drivers/Makefile b/drivers/Makefile index 6bf05cc..39b6d6c 100755 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libdrivers.a
-COBJS = 3c589.o 5701rls.o ali512x.o at45.o ata_piix.o atmel_usart.o \ +COBJS = 3c589.o 5701rls.o ali512x.o at45.o atmel_usart.o \ bcm570x.o bcm570x_autoneg.o cfb_console.o cfi_flash.o \ cs8900.o ct69000.o dataflash.o dc2114x.o dm9000x.o \ e1000.o eepro100.o enc28j60.o \ diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile index 623eac7..781aed1 100644 --- a/drivers/ata/Makefile +++ b/drivers/ata/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libata.a
-COBJS := +COBJS := ata_piix.o
SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/drivers/ata_piix.c b/drivers/ata/ata_piix.c similarity index 100% rename from drivers/ata_piix.c rename to drivers/ata/ata_piix.c

From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 00:41:57 +0200 Subject: [PATCH] drivers/block : move block drivers to drivers/block
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/Makefile | 2 +- drivers/block/Makefile | 2 +- drivers/{ => block}/systemace.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/{ => block}/systemace.c (100%)
diff --git a/drivers/Makefile b/drivers/Makefile index 39b6d6c..cb699a7 100755 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -44,7 +44,7 @@ COBJS = 3c589.o 5701rls.o ali512x.o at45.o atmel_usart.o \ serial.o serial_max3100.o \ serial_pl010.o serial_pl011.o serial_xuartlite.o \ sil680.o sl811_usb.o sm501.o smc91111.o smiLynxEM.o \ - status_led.o sym53c8xx.o systemace.o ahci.o \ + status_led.o sym53c8xx.o ahci.o \ ti_pci1410a.o tigon3.o tsec.o \ tsi108_eth.o tsi108_i2c.o tsi108_pci.o \ usb_ohci.o \ diff --git a/drivers/block/Makefile b/drivers/block/Makefile index 1d36fac..27f5f8b 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libblock.a
-COBJS := +COBJS := systemace.o
SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/drivers/systemace.c b/drivers/block/systemace.c similarity index 100% rename from drivers/systemace.c rename to drivers/block/systemace.c

From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 00:46:31 +0200 Subject: [PATCH] drivers/char : move char drivers to drivers/char
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/Makefile | 1 - drivers/char/Makefile | 2 +- drivers/{ => char}/pc_keyb.c | 0 drivers/{ => char}/ps2mult.c | 0 drivers/{ => char}/ps2ser.c | 0 5 files changed, 1 insertions(+), 2 deletions(-) rename drivers/{ => char}/pc_keyb.c (100%) rename drivers/{ => char}/ps2mult.c (100%) rename drivers/{ => char}/ps2ser.c (100%)
diff --git a/drivers/Makefile b/drivers/Makefile index cb699a7..a50d881 100755 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -37,7 +37,6 @@ COBJS = 3c589.o 5701rls.o ali512x.o at45.o atmel_usart.o \ ns16550.o ns8382x.o ns87308.o ns7520_eth.o omap1510_i2c.o \ omap24xx_i2c.o pci.o pci_auto.o pci_indirect.o \ pcnet.o plb2800_eth.o \ - ps2ser.o ps2mult.o pc_keyb.o \ rtl8019.o rtl8139.o rtl8169.o \ s3c4510b_eth.o s3c4510b_uart.o \ sed13806.o sed156x.o \ diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 90e97f3..73e58f4 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libchar.a
-COBJS := +COBJS := pc_keyb.o ps2mult.o ps2ser.o
SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/drivers/pc_keyb.c b/drivers/char/pc_keyb.c similarity index 100% rename from drivers/pc_keyb.c rename to drivers/char/pc_keyb.c diff --git a/drivers/ps2mult.c b/drivers/char/ps2mult.c similarity index 100% rename from drivers/ps2mult.c rename to drivers/char/ps2mult.c diff --git a/drivers/ps2ser.c b/drivers/char/ps2ser.c similarity index 100% rename from drivers/ps2ser.c rename to drivers/char/ps2ser.c

From 3c794eab101fbccbd0454c0f5f8ae58756bc1f20 Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 02:33:15 +0200 Subject: [PATCH] drivers/eeprom : move eeprom drivers to drivers/eeprom
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/eeprom/Makefile | 2 +- drivers/{ => eeprom}/mw_eeprom.c | 0 2 files changed, 1 insertions(+), 1 deletions(-) rename drivers/{ => eeprom}/mw_eeprom.c (100%)
diff --git a/drivers/eeprom/Makefile b/drivers/eeprom/Makefile index 0637a7d..359367b 100644 --- a/drivers/eeprom/Makefile +++ b/drivers/eeprom/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libeeprom.a
-COBJS := +COBJS := mw_eeprom.o
SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/drivers/mw_eeprom.c b/drivers/eeprom/mw_eeprom.c similarity index 100% rename from drivers/mw_eeprom.c rename to drivers/eeprom/mw_eeprom.c

From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 00:41:57 +0200 Subject: [PATCH] drivers/block : move block drivers to drivers/block
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/Makefile | 2 +- drivers/block/Makefile | 2 +- drivers/{ => block}/systemace.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/{ => block}/systemace.c (100%)
diff --git a/drivers/Makefile b/drivers/Makefile index 39b6d6c..cb699a7 100755 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -44,7 +44,7 @@ COBJS = 3c589.o 5701rls.o ali512x.o at45.o atmel_usart.o \ serial.o serial_max3100.o \ serial_pl010.o serial_pl011.o serial_xuartlite.o \ sil680.o sl811_usb.o sm501.o smc91111.o smiLynxEM.o \ - status_led.o sym53c8xx.o systemace.o ahci.o \ + status_led.o sym53c8xx.o ahci.o \ ti_pci1410a.o tigon3.o tsec.o \ tsi108_eth.o tsi108_i2c.o tsi108_pci.o \ usb_ohci.o \ diff --git a/drivers/block/Makefile b/drivers/block/Makefile index 1d36fac..27f5f8b 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libblock.a
-COBJS := +COBJS := systemace.o
SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/drivers/systemace.c b/drivers/block/systemace.c similarity index 100% rename from drivers/systemace.c rename to drivers/block/systemace.c

From: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com Date: Sun, 23 Sep 2007 02:35:49 +0200 Subject: [PATCH] drivers/hwmon : move hardware monitor drviers to drivers/hwmon
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/hwmon/Makefile | 2 +- drivers/{ => hwmon}/ds1722.c | 0 2 files changed, 1 insertions(+), 1 deletions(-) rename drivers/{ => hwmon}/ds1722.c (100%)
diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index 59227ad..dfbc061 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libhwmon.a
-COBJS := +COBJS := ds1722.o
SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/drivers/ds1722.c b/drivers/hwmon/ds1722.c similarity index 100% rename from drivers/ds1722.c rename to drivers/hwmon/ds1722.c
participants (1)
-
Jean-Christophe PLAGNIOL-VILLARD