Skip to content
Snippets Groups Projects
  1. Feb 25, 2014
    • Masahiro Yamada's avatar
      kbuild: move asm-offsets.h rules to ./Kbuild · 6a44d806
      Masahiro Yamada authored
      
      Generate include/generated/generic-asm-offsets.h and
      include/generated/asm-offsets.h in ./Kbuild.
      
      This commit also changes the include guard.
      
      Before this commit, __ASM_OFFSETS_H__ was used for both of them.
      So we could not include generic-asm-offsets.h and asm-offsets.h
      at the same time.
      
      This commit renames the include guard of the former to
      __GENERIC_ASM_OFFSETS_H__.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      6a44d806
    • Masahiro Yamada's avatar
      kbuild: abolish "depend" target · 6378008a
      Masahiro Yamada authored
      
      This commit moves include/generated/{generic-asm-offsets.h, asm-offsets.h}
      from "depend" targets to "prepare" targets and deletes "depend" targets.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      6378008a
    • Masahiro Yamada's avatar
      kbuild: consolidate version and timestamp headers generation · 7424145f
      Masahiro Yamada authored
      
      - Generate include/generated/{timestamp.h, version.h}
         more simply by using filechk rule.
      
       - Add $(UBOOTRELEASE) variable and re-write u-boot.imx rule
         more simply.
      
       - Rename U_BOOT_VERSION in Makefile to UBOOTVERSION
      
         Before this commit, the same variable name, "U_BOOT_VERSION"
         was used for two different strings.
      
         One of them was defined in Makefile.
         It takes the form like "2014.01-rc1" and used in
         makefiles and script files.
      
         The other is defined in include/generated/version.h
         It takes the form like "U-Boot 2014.01-rc1-00010-gbe6d426-dirty"
         and used in C and Aseembler.
      
         It is confusing when grepping the source tree. So, this commit
         renames the former to UBOOTVERSION.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      7424145f
    • Masahiro Yamada's avatar
      Makefile: add a new script to check -fstack-usage support · 5b1f1f4a
      Masahiro Yamada authored
      
      If -fstack-usage option is given to crosstools
      that do not support it, gcc displays a warning message
      but still exits with status 0.
      
      This means we can not rely on $(call cc-option,...)
      to detect if -fstack-usage option is supported or not.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      5b1f1f4a
  2. Feb 24, 2014
  3. Feb 21, 2014
  4. Feb 20, 2014
Loading