Skip to content
Snippets Groups Projects
  1. May 10, 2017
    • Sergey Ryazanov's avatar
      build: new fixes for symlinked .config handling · e06d8f0f
      Sergey Ryazanov authored
      
      When running "make {config|defconfig|oldconfig}" with symlinked .config
      (e.g. to env/.config) it renames symlink to .config.old, creates new
      .config file, and writes the updated configuration into it.
      
      This breaks the desired workflow when changes in the configuration can
      be checked using "scripts/env diff" and commited using "scripts/env
      save". Since the env/.config file is not updated.
      
      The things become even worse when working with feeds, since feeds script
      quite often silently invokes "make {oldconfig|defconfig}" and breaks the
      symlink.
      
      Fix this issue by exporting KCONFIG_OVERWRITECONFIG=1, which forces
      mconf to overwrite the .config content, instead of renaming it and
      creating a new file. This variable is set only if .config is a symlink,
      otherwise the variable is not exported and the old behaviour is
      preserved.
      
      This change uses the same behaviour as "make menucofig", which has
      already been fixed in commit 5bf98b1a.
      
      Also make a tiny cosmetic update to the "make menuconfig" target code
      layout to make it look like other config handling targets.
      
      Signed-off-by: default avatarSergey Ryazanov <ryazanov.s.a@gmail.com>
      e06d8f0f
  2. May 05, 2017
  3. May 03, 2017
  4. May 02, 2017
  5. Apr 26, 2017
    • Daniel Engberg's avatar
      include/packages-defaults.mk: Remove LARGEFILE option · edda8ecd
      Daniel Engberg authored
      
      Remove LARGEFILE option, support was removed back in 2011 (OpenWrt rev 25208).
      
      Signed-off-by: default avatarDaniel Engberg <daniel.engberg.lists@pyret.net>
      edda8ecd
    • Sergey Ryazanov's avatar
      build: fix symlinked .config handling · 5bf98b1a
      Sergey Ryazanov authored
      
      When running "make menuconfig" with symlinked .config (e.g. to
      env/.config) it renames symlink to .config.old, creates new .config file
      and writes updated configuration here.
      
      This breaks the desired workflow when changes in the configuration could
      be checked using "scripts/env diff" and commited with
      "scripts/env save". Since the env/.config file is not updated.
      
      Fix this issue by exporting KCONFIG_OVERWRITECONFIG=1, which forces
      mconf to overwrite the .config content, instead of renaming it and
      creating a new file. This variable is set only if .config is a symlink,
      otherwise the variable is not exported and the old behaviour is
      preserved.
      
      Signed-off-by: default avatarSergey Ryazanov <ryazanov.s.a@gmail.com>
      5bf98b1a
  6. Apr 24, 2017
  7. Apr 23, 2017
    • Yousong Zhou's avatar
      build: fix aarch64 default cpu selection · b889d1e3
      Yousong Zhou authored
      
      Not sure since when the issue emerged, but according to the current doc of gcc
      and as, armv8-a is intended as argument of -march
      
      The change will affect at the moment arm64 and layerscape/64b
      
      Below is the relevant error messages when building toolchain
      
          Assembler messages:
          Error: unknown cpu `armv8-a'
          Error: unrecognized option -mcpu=armv8-a
          /home/yousong/git-repo/lede-project/lede/build_dir/toolchain-aarch64_armv8-a_gcc-5.4.0_musl/gcc-5.4.0/libgcc/libgcc2.c:1:0: error: unknown value 'armv8-a' for -mcpu
      
      Signed-off-by: default avatarYousong Zhou <yszhou4tech@gmail.com>
      b889d1e3
  8. Apr 15, 2017
  9. Apr 12, 2017
  10. Apr 04, 2017
  11. Apr 03, 2017
  12. Apr 02, 2017
  13. Mar 26, 2017
  14. Mar 22, 2017
  15. Mar 20, 2017
  16. Mar 18, 2017
  17. Mar 16, 2017
  18. Mar 13, 2017
  19. Mar 12, 2017
  20. Mar 03, 2017
  21. Feb 27, 2017
  22. Feb 26, 2017
  23. Feb 23, 2017
  24. Feb 22, 2017
  25. Feb 21, 2017
Loading