Skip to content

Commit

Permalink
Rename lib_generic/ to lib/
Browse files Browse the repository at this point in the history
Now that the other architecture-specific lib directories have been
moved out of the top-level directory there's not much reason to have the
'_generic' suffix on the common lib directory.

Signed-off-by: Peter Tyser <[email protected]>
  • Loading branch information
Peter Tyser authored and wdenx committed Apr 13, 2010
1 parent ea0364f commit 78acc47
Show file tree
Hide file tree
Showing 194 changed files with 321 additions and 321 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ endif

OBJS := $(addprefix $(obj),$(OBJS))

LIBS = lib_generic/libgeneric.a
LIBS += lib_generic/lzma/liblzma.a
LIBS += lib_generic/lzo/liblzo.a
LIBS = lib/libgeneric.a
LIBS += lib/lzma/liblzma.a
LIBS += lib/lzo/liblzo.a
LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
"board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
LIBS += $(CPUDIR)/lib$(CPU).a
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Directory Hierarchy:
- arch/arm/lib Files generic to ARM architecture
- arch/avr32/lib Files generic to AVR32 architecture
- arch/blackfin/lib Files generic to Blackfin architecture
- lib_generic Files generic to all architectures
- lib Files generic to all architectures
- arch/i386/lib Files generic to i386 architecture
- arch/m68k/lib Files generic to m68k architecture
- arch/microblaze/lib Files generic to microblaze architecture
Expand Down
8 changes: 4 additions & 4 deletions board/BuS/EB+MCF-EV123/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ SECTIONS

cpu/mcf52x2/start.o (.text)
common/dlmalloc.o (.text)
lib_generic/string.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib/string.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)

/* . = env_offset; */
common/env_embedded.o(.text)
Expand Down
8 changes: 4 additions & 4 deletions board/LEOX/elpt860/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ SECTIONS
cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
arch/ppc/lib/ppcstring.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib_generic/string.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)
lib/string.o (.text)
arch/ppc/lib/cache.o (.text)
arch/ppc/lib/extable.o (.text)
arch/ppc/lib/time.o (.text)
Expand Down
4 changes: 2 additions & 2 deletions board/LEOX/elpt860/u-boot.lds.debug
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ SECTIONS

cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)

. = env_offset;
common/env_embedded.o (.text)
Expand Down
6 changes: 3 additions & 3 deletions board/RPXClassic/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ SECTIONS
cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
arch/ppc/lib/ppcstring.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)
/* XXX ?
. = env_offset;
*/
Expand Down
4 changes: 2 additions & 2 deletions board/RPXClassic/u-boot.lds.debug
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ SECTIONS

cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)

. = env_offset;
common/env_embedded.o(.text)
Expand Down
6 changes: 3 additions & 3 deletions board/RPXlite/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ SECTIONS
cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
arch/ppc/lib/ppcstring.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)
/* XXX ?
. = env_offset;
*/
Expand Down
4 changes: 2 additions & 2 deletions board/RPXlite/u-boot.lds.debug
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ SECTIONS

cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)

. = env_offset;
common/env_embedded.o(.text)
Expand Down
6 changes: 3 additions & 3 deletions board/RPXlite_dw/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ SECTIONS
cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
arch/ppc/lib/ppcstring.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)
/* XXX ?
. = env_offset;
*/
Expand Down
4 changes: 2 additions & 2 deletions board/RPXlite_dw/u-boot.lds.debug
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ SECTIONS

cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)

. = env_offset;
common/env_embedded.o(.text)
Expand Down
6 changes: 3 additions & 3 deletions board/RRvision/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ SECTIONS
cpu/mpc8xx/traps.o (.text)
common/dlmalloc.o (.text)
arch/ppc/lib/ppcstring.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)
arch/ppc/lib/cache.o (.text)
arch/ppc/lib/time.o (.text)

Expand Down
4 changes: 2 additions & 2 deletions board/actux1/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ SECTIONS
. = ALIGN (4);
.text : {
cpu/ixp/start.o(.text)
lib_generic/string.o(.text)
lib_generic/vsprintf.o(.text)
lib/string.o(.text)
lib/vsprintf.o(.text)
arch/arm/lib/board.o(.text)
common/dlmalloc.o(.text)
cpu/ixp/cpu.o(.text)
Expand Down
4 changes: 2 additions & 2 deletions board/actux2/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ SECTIONS
. = ALIGN (4);
.text : {
cpu/ixp/start.o(.text)
lib_generic/string.o(.text)
lib_generic/vsprintf.o(.text)
lib/string.o(.text)
lib/vsprintf.o(.text)
arch/arm/lib/board.o(.text)
common/dlmalloc.o(.text)
cpu/ixp/cpu.o(.text)
Expand Down
4 changes: 2 additions & 2 deletions board/actux3/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ SECTIONS
. = ALIGN (4);
.text : {
cpu/ixp/start.o (.text)
lib_generic/string.o (.text)
lib_generic/vsprintf.o (.text)
lib/string.o (.text)
lib/vsprintf.o (.text)
arch/arm/lib/board.o (.text)
common/dlmalloc.o (.text)
cpu/ixp/cpu.o (.text)
Expand Down
4 changes: 2 additions & 2 deletions board/amirix/ap1000/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ SECTIONS
cpu/ppc4xx/cpu_init.o (.text)
cpu/ppc4xx/speed.o (.text)
common/dlmalloc.o (.text)
lib_generic/crc32.o (.text)
lib/crc32.o (.text)
arch/ppc/lib/extable.o (.text)
lib_generic/zlib.o (.text)
lib/zlib.o (.text)

/* . = env_offset;*/
/* common/env_embedded.o(.text)*/
Expand Down
2 changes: 1 addition & 1 deletion board/astro/mcf5373l/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ SECTIONS
arch/m68k/lib/traps.o (.text)
arch/m68k/lib/interrupts.o (.text)
common/dlmalloc.o (.text)
lib_generic/zlib.o (.text)
lib/zlib.o (.text)

. = DEFINED(env_offset) ? env_offset : .;
common/env_embedded.o (.text)
Expand Down
4 changes: 2 additions & 2 deletions board/bf518f-ezbrd/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
4 changes: 2 additions & 2 deletions board/bf526-ezbrd/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
4 changes: 2 additions & 2 deletions board/bf527-ezkit/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
4 changes: 2 additions & 2 deletions board/bf533-ezkit/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/bf533-stamp/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/bf537-stamp/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/bf538f-ezkit/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/bf548-ezkit/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
Expand Down
4 changes: 2 additions & 2 deletions board/bf561-acvilon/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
Expand Down
4 changes: 2 additions & 2 deletions board/bf561-ezkit/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16
Expand Down
6 changes: 3 additions & 3 deletions board/c2mon/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ SECTIONS
cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
arch/ppc/lib/ppcstring.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib_generic/zlib.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)
lib/zlib.o (.text)

. = env_offset;
common/env_embedded.o(.text)
Expand Down
4 changes: 2 additions & 2 deletions board/c2mon/u-boot.lds.debug
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ SECTIONS

cpu/mpc8xx/start.o (.text)
common/dlmalloc.o (.text)
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
lib/vsprintf.o (.text)
lib/crc32.o (.text)

. = env_offset;
common/env_embedded.o(.text)
Expand Down
4 changes: 2 additions & 2 deletions board/cm-bf527/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
4 changes: 2 additions & 2 deletions board/cm-bf533/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/cm-bf537e/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/cm-bf537u/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
Expand Down
4 changes: 2 additions & 2 deletions board/cm-bf548/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# This is not actually used for Blackfin boards so do not change it
#TEXT_BASE = do-not-use-me

CFLAGS_lib_generic += -O2
CFLAGS_lib_generic/lzma += -O2
CFLAGS_lib += -O2
CFLAGS_lib/lzma += -O2

# Set some default LDR flags based on boot mode.
LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
Expand Down
Loading

0 comments on commit 78acc47

Please sign in to comment.