[U-Boot-Users] [PATCH 13/14] Makefile : fix tags ctags etags with new drivers organization

Grant Likely grant.likely at secretlab.ca
Mon Nov 26 18:04:00 CET 2007


On 11/26/07, Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
>
> diff --git a/Makefile b/Makefile
> index 5f3f0b3..dbd7d4f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -335,14 +335,26 @@ 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 common drivers/bios_emulator \
> +                               drivers/block drivers/hwmon drivers/i2c \
> +                               drivers/input drivers/misc drivers/mtd \
> +                               drivers/mtd/nand drivers/mtd/nand_legacy \
> +                               drivers/mtd/onenand drivers/net drivers/net/sk98lin \
> +                               drivers/pci drivers/pcmcia drivers/qe drivers/rtc \
> +                               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 common drivers/bios_emulator \
> +                               drivers/block drivers/hwmon drivers/i2c \
> +                               drivers/input drivers/misc drivers/mtd \
> +                               drivers/mtd/nand drivers/mtd/nand_legacy \
> +                               drivers/mtd/onenand drivers/net drivers/net/sk98lin \
> +                               drivers/pci drivers/pcmcia drivers/qe drivers/rtc \
> +                               drivers/serial drivers/usb drivers/video \
>                         \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
>
>  $(obj)System.map:      $(obj)u-boot
> --

Can we put this list of directories into a macro w/ one line per directory?

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195




More information about the U-Boot mailing list