mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Move lib_$ARCH directories to arch/$ARCH/lib
Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
89f39e177e
commit
ea0364f1bb
@@ -47,7 +47,7 @@ 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
|
||||
ifeq ($(ARCH),ppc)
|
||||
EXT_SOBJ_FILES-$(CONFIG_API) += lib_ppc/ppcstring.o
|
||||
EXT_SOBJ_FILES-$(CONFIG_API) += arch/ppc/lib/ppcstring.o
|
||||
endif
|
||||
|
||||
# Create a list of source files so their dependencies can be auto-generated
|
||||
@@ -79,7 +79,7 @@ $(obj)%.o: $(SRCTREE)/lib_generic/%.c
|
||||
$(CC) -g $(CFLAGS) -c -o $@ $<
|
||||
|
||||
# Rule to build architecture-specific library assembly files
|
||||
$(obj)%.o: $(SRCTREE)/lib_$(ARCH)/%.S
|
||||
$(obj)%.o: $(SRCTREE)/arch/$(ARCH)/lib/%.S
|
||||
$(CC) -g $(CFLAGS) -c -o $@ $<
|
||||
|
||||
#########################################################################
|
||||
|
Reference in New Issue
Block a user