mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Rename lib_generic/ to lib/
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 <ptyser@xes-inc.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
ea0364f1bb
commit
78acc472d9
@@ -40,12 +40,12 @@ COBJ_FILES-$(CONFIG_API) += glue.o
|
||||
COBJ_FILES-$(CONFIG_API) += libgenwrap.o
|
||||
|
||||
# Source files which exist outside the examples/api directory
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/crc32.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/ctype.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/div64.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/string.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/time.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/vsprintf.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib/crc32.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib/ctype.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib/div64.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib/string.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib/time.o
|
||||
EXT_COBJ_FILES-$(CONFIG_API) += lib/vsprintf.o
|
||||
ifeq ($(ARCH),ppc)
|
||||
EXT_SOBJ_FILES-$(CONFIG_API) += arch/ppc/lib/ppcstring.o
|
||||
endif
|
||||
@@ -75,7 +75,7 @@ $(OUTPUT): $(OBJS)
|
||||
$(OBJCOPY) -O binary $@ $(OUTPUT).bin 2>/dev/null
|
||||
|
||||
# Rule to build generic library C files
|
||||
$(obj)%.o: $(SRCTREE)/lib_generic/%.c
|
||||
$(obj)%.o: $(SRCTREE)/lib/%.c
|
||||
$(CC) -g $(CFLAGS) -c -o $@ $<
|
||||
|
||||
# Rule to build architecture-specific library assembly files
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*
|
||||
*
|
||||
* This is is a set of wrappers/stubs that allow to use certain routines from
|
||||
* U-Boot's lib_generic in the standalone app. This way way we can re-use
|
||||
* U-Boot's lib in the standalone app. This way way we can re-use
|
||||
* existing code e.g. operations on strings and similar.
|
||||
*
|
||||
*/
|
||||
|
Reference in New Issue
Block a user