1. 19 Feb, 2014 1 commit
    • Masahiro Yamada's avatar
      kbuild: use Linux Kernel build scripts · 6825a95b
      Masahiro Yamada authored
      Now we are ready to switch over to real Kbuild.
      
      This commit disables temporary scripts:
        scripts/{Makefile.build.tmp, Makefile.host.tmp}
      and enables real Kbuild scripts:
        scripts/{Makefile.build,Makefile.host,Makefile.lib}.
      
      This switch is triggered by the line in scripts/Kbuild.include
        -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
        +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
      
      We need to adjust some build scripts for U-Boot.
      But smaller amount of modification is preferable.
      
      Additionally, we need to fix compiler flags which are
      locally added or removed.
      
      In Kbuild, it is not allowed to change CFLAGS locally.
      Instead, ccflags-y, asflags-y, cppflags-y,
      CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
      are prepared for that purpose.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
      6825a95b
  2. 24 Jul, 2013 1 commit
  3. 03 Jun, 2011 1 commit
  4. 08 Apr, 2011 3 commits
  5. 18 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
  6. 02 Oct, 2010 1 commit
  7. 13 Apr, 2010 2 commits
    • 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
      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
  8. 17 Jan, 2010 1 commit
  9. 15 Jun, 2009 2 commits
  10. 02 Apr, 2009 3 commits
  11. 07 Jan, 2009 2 commits
  12. 30 Mar, 2008 1 commit
  13. 20 Mar, 2007 1 commit
  14. 18 Mar, 2007 1 commit
  15. 09 Mar, 2007 1 commit
  16. 12 Mar, 2006 2 commits
  17. 29 Nov, 2001 1 commit
  18. 05 Aug, 2001 1 commit
  19. 29 May, 2001 1 commit
  20. 28 Feb, 2001 1 commit
  21. 10 Jul, 2000 1 commit