Skip to content
Snippets Groups Projects
  1. Apr 13, 2010
    • Peter Tyser's avatar
      Rename lib_generic/ to lib/ · 78acc472
      Peter Tyser authored
      
      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: default avatarPeter Tyser <ptyser@xes-inc.com>
      78acc472
    • Peter Tyser's avatar
      Move lib_$ARCH directories to arch/$ARCH/lib · ea0364f1
      Peter Tyser authored
      
      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: default avatarPeter Tyser <ptyser@xes-inc.com>
      ea0364f1
    • Peter Tyser's avatar
      Change directory-specific CFLAGS to use full path · 89f39e17
      Peter Tyser authored
      
      Previously, a specific file or directory could be compiled with custom
      CFLAGS by adding a Makefile variable such as:
        CFLAGS_dlmalloc.o = <custom flags for common/dlmalloc.c>
      or
        CFLAGS_lib = <custom flags for lib directory>
      
      This method breaks down once multiple files or directories share the
      same path.  Eg FLAGS_fileA = <custom flags> would incorrectly result in
      both dir1/fileA.c and dir2/fileA.c being compiled with <custom flags>.
      
      This change allows finer grained control which we need once we move
      lib_$ARCH to arch/$ARCH/lib/ and lib_generic/ to lib/.  Without this
      change all lib/ directories would share the same custom CFLAGS.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      89f39e17
    • Peter Tyser's avatar
      Create CPUDIR variable · 03b7004d
      Peter Tyser authored
      
      The CPUDIR variable points to the location of a target's CPU directory.
      Currently, it is set to cpu/$CPU.  However, using $CPUDIR will allow for
      more flexibility in the future.  It lays the groundwork for reorganizing
      U-Boot's directory structure to support a layout such as:
      
        arch/$ARCH/cpu/$CPU/* (architecture with multiple CPU types)
        arch/$ARCH/cpu/*      (architecture with one CPU type)
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      03b7004d
  2. Apr 10, 2010
  3. Apr 09, 2010
  4. Apr 08, 2010
  5. Apr 07, 2010
Loading