[U-Boot-Users] [PATCH 19/30] Makefile : fix tags ctags etags with new drivers organization
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Oct 6 15:33:41 CEST 2007
>From 94ec392b2491221a7ab8454dc52a977b7b432d23 Mon Sep 17 00:00:00 2001
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Date: Sun, 23 Sep 2007 15:36:39 +0200
Subject: [PATCH] Makefile : fix tags ctags etags with new drivers
organization
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 4c92b34..c2f8e59 100644
--- a/Makefile
+++ b/Makefile
@@ -339,18 +339,66 @@ env:
depend dep: version
for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
+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/net/sk98lin/libsk98lin.a
+LIBS += drivers/usb/libusb.a
+LIBS += drivers/video/libvideo.a
+
+
tags ctags:
ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
fs/cramfs fs/fat fs/fdos fs/jffs2 \
- net disk rtc dtt drivers drivers/sk98lin common \
+ net disk rtc dtt drivers common \
+ drivers/ata drivers/bios_emulator drivers/block \
+ drivers/char drivers/eeprom drivers/hwmon \
+ drivers/i2c drivers/ide drivers/input \
+ drivers/leds drivers/misc drivers/mtd \
+ drivers/nand drivers/nand_legacy drivers/net \
+ drivers/net/sk98lin drivers/pci drivers/pcmcia \
+ drivers/qe drivers/sata drivers/scsi drivers/serial \
+ drivers/usb drivers/video \
\( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
etags:
etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
fs/cramfs fs/fat fs/fdos fs/jffs2 \
- net disk rtc dtt drivers drivers/sk98lin common \
+ net disk rtc dtt drivers common \
+ drivers/ata drivers/bios_emulator drivers/block \
+ drivers/char drivers/eeprom drivers/hwmon \
+ drivers/i2c drivers/ide drivers/input \
+ drivers/leds drivers/misc drivers/mtd \
+ drivers/nand drivers/nand_legacy drivers/net \
+ drivers/net/sk98lin drivers/pci drivers/pcmcia \
+ drivers/qe drivers/sata drivers/scsi drivers/serial \
+ drivers/usb drivers/video \
\( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
$(obj)System.map: $(obj)u-boot
--
1.5.3.2
More information about the U-Boot
mailing list