mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 00:11:32 +00: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:
parent
89f39e177e
commit
ea0364f1bb
251 changed files with 232 additions and 232 deletions
6
Makefile
6
Makefile
|
@ -195,7 +195,7 @@ endif
|
||||||
ifeq ($(CPU),ixp)
|
ifeq ($(CPU),ixp)
|
||||||
LIBS += cpu/ixp/npe/libnpe.a
|
LIBS += cpu/ixp/npe/libnpe.a
|
||||||
endif
|
endif
|
||||||
LIBS += lib_$(ARCH)/lib$(ARCH).a
|
LIBS += arch/$(ARCH)/lib/lib$(ARCH).a
|
||||||
LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
|
LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
|
||||||
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a \
|
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a \
|
||||||
fs/ubifs/libubifs.a
|
fs/ubifs/libubifs.a
|
||||||
|
@ -257,7 +257,7 @@ LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
|
||||||
# Add GCC lib
|
# Add GCC lib
|
||||||
ifdef USE_PRIVATE_LIBGCC
|
ifdef USE_PRIVATE_LIBGCC
|
||||||
ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
|
ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
|
||||||
PLATFORM_LIBGCC = -L $(OBJTREE)/lib_$(ARCH) -lgcc
|
PLATFORM_LIBGCC = -L $(OBJTREE)/arch/$(ARCH)/lib -lgcc
|
||||||
else
|
else
|
||||||
PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc
|
PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc
|
||||||
endif
|
endif
|
||||||
|
@ -3743,7 +3743,7 @@ clean:
|
||||||
$(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
|
$(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
|
||||||
$(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
|
$(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
|
||||||
$(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \
|
$(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \
|
||||||
$(obj)lib_blackfin/u-boot.lds \
|
$(obj)arch/blackfin/lib/u-boot.lds \
|
||||||
$(obj)u-boot.lds \
|
$(obj)u-boot.lds \
|
||||||
$(obj)cpu/blackfin/bootrom-asm-offsets.[chs]
|
$(obj)cpu/blackfin/bootrom-asm-offsets.[chs]
|
||||||
@rm -f $(obj)include/bmp_logo.h
|
@rm -f $(obj)include/bmp_logo.h
|
||||||
|
|
28
README
28
README
|
@ -182,19 +182,19 @@ Directory Hierarchy:
|
||||||
- examples Example code for standalone applications, etc.
|
- examples Example code for standalone applications, etc.
|
||||||
- fs Filesystem code (cramfs, ext2, jffs2, etc.)
|
- fs Filesystem code (cramfs, ext2, jffs2, etc.)
|
||||||
- include Header Files
|
- include Header Files
|
||||||
- lib_arm Files generic to ARM architecture
|
- arch/arm/lib Files generic to ARM architecture
|
||||||
- lib_avr32 Files generic to AVR32 architecture
|
- arch/avr32/lib Files generic to AVR32 architecture
|
||||||
- lib_blackfin Files generic to Blackfin architecture
|
- arch/blackfin/lib Files generic to Blackfin architecture
|
||||||
- lib_generic Files generic to all architectures
|
- lib_generic Files generic to all architectures
|
||||||
- lib_i386 Files generic to i386 architecture
|
- arch/i386/lib Files generic to i386 architecture
|
||||||
- lib_m68k Files generic to m68k architecture
|
- arch/m68k/lib Files generic to m68k architecture
|
||||||
- lib_microblaze Files generic to microblaze architecture
|
- arch/microblaze/lib Files generic to microblaze architecture
|
||||||
- lib_mips Files generic to MIPS architecture
|
- arch/mips/lib Files generic to MIPS architecture
|
||||||
- lib_nios Files generic to NIOS architecture
|
- arch/nios/lib Files generic to NIOS architecture
|
||||||
- lib_nios2 Files generic to NIOS2 architecture
|
- arch/nios/lib2 Files generic to NIOS2 architecture
|
||||||
- lib_ppc Files generic to PowerPC architecture
|
- arch/ppc/lib Files generic to PowerPC architecture
|
||||||
- lib_sh Files generic to SH architecture
|
- arch/sh/lib Files generic to SH architecture
|
||||||
- lib_sparc Files generic to SPARC architecture
|
- arch/sparc/lib Files generic to SPARC architecture
|
||||||
- libfdt Library files to support flattened device trees
|
- libfdt Library files to support flattened device trees
|
||||||
- net Networking code
|
- net Networking code
|
||||||
- post Power On Self Test
|
- post Power On Self Test
|
||||||
|
@ -1940,9 +1940,9 @@ Legacy uImage format:
|
||||||
13 common/image.c Start multifile image verification
|
13 common/image.c Start multifile image verification
|
||||||
14 common/image.c No initial ramdisk, no multifile, continue.
|
14 common/image.c No initial ramdisk, no multifile, continue.
|
||||||
|
|
||||||
15 lib_<arch>/bootm.c All preparation done, transferring control to OS
|
15 arch/<arch>/lib/bootm.c All preparation done, transferring control to OS
|
||||||
|
|
||||||
-30 lib_ppc/board.c Fatal error, hang the system
|
-30 arch/ppc/lib/board.c Fatal error, hang the system
|
||||||
-31 post/post.c POST test failed, detected by post_output_backlog()
|
-31 post/post.c POST test failed, detected by post_output_backlog()
|
||||||
-32 post/post.c POST test failed, detected by post_run_single()
|
-32 post/post.c POST test failed, detected by post_run_single()
|
||||||
|
|
||||||
|
|
|
@ -59,8 +59,8 @@ PLATFORM_CPPFLAGS += $(call cc-option,\
|
||||||
# For EABI, make sure to provide raise()
|
# For EABI, make sure to provide raise()
|
||||||
ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS)))
|
ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS)))
|
||||||
# This file is parsed several times; make sure to add only once.
|
# This file is parsed several times; make sure to add only once.
|
||||||
ifeq (,$(findstring lib_arm/eabi_compat.o,$(PLATFORM_LIBS)))
|
ifeq (,$(findstring arch/arm/lib/eabi_compat.o,$(PLATFORM_LIBS)))
|
||||||
PLATFORM_LIBS += $(OBJTREE)/lib_arm/eabi_compat.o
|
PLATFORM_LIBS += $(OBJTREE)/arch/arm/lib/eabi_compat.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
|
LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
|
|
@ -68,5 +68,5 @@ endif
|
||||||
LDR_FLAGS += $(LDR_FLAGS-y)
|
LDR_FLAGS += $(LDR_FLAGS-y)
|
||||||
|
|
||||||
ifeq ($(wildcard $(TOPDIR)/board/$(BOARD)/u-boot.lds*),)
|
ifeq ($(wildcard $(TOPDIR)/board/$(BOARD)/u-boot.lds*),)
|
||||||
LDSCRIPT = $(obj)lib_$(ARCH)/u-boot.lds.S
|
LDSCRIPT = $(obj)arch/$(ARCH)/lib/u-boot.lds.S
|
||||||
endif
|
endif
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue