[riot-commits] [RIOT-OS/RIOT] 182b60: make: 1571 fixup: dont create existing directories

Oleg Hahm oleg at hobbykeller.org
Sun Sep 28 19:17:40 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 182b603a017b745d2bc618f50feb54eeab4b1a86
      https://github.com/RIOT-OS/RIOT/commit/182b603a017b745d2bc618f50feb54eeab4b1a86
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-09-28 (Sun, 28 Sep 2014)

  Changed paths:
    M Makefile.base

  Log Message:
  -----------
  make: 1571 fixup: dont create existing directories

This fixes an error which was introduced by commit
346313bf07304c5636739d028c7b70acb4b507f9

The timestamp of directories is updated when a file inside a directory
is changed.
Therefore, make decides a target needs to be rebuilt, whenever that
target depends on its parent directory, because the directory is
always newer than the file inside.

http://www.gnu.org/savannah-checkouts/gnu/make/manual/html_node/Prerequisite-Types.html

    Occasionally, however, you have a situation where you want to
    impose a specific ordering on the rules to be invoked without
    forcing the target to be updated if one of those rules is
    executed. In that case, you want to define order-only
    prerequisites. Order-only prerequisites can be specified by
    placing a pipe symbol (|) in the prerequisites list: any
    prerequisites to the left of the pipe symbol are normal; any
    prerequisites to the right are order-only:
    targets : normal-prerequisites | order-only-prerequisites


  Commit: 7e123c797d96bbb3e1e4d6f1976a7c332321a401
      https://github.com/RIOT-OS/RIOT/commit/7e123c797d96bbb3e1e4d6f1976a7c332321a401
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-09-28 (Sun, 28 Sep 2014)

  Changed paths:
    M Makefile.base

  Log Message:
  -----------
  make: optimize archive creation/modification

Only add/replace changed members to the archive.


  Commit: b43fda4b0f01a90307df008feb38fd2239a6726e
      https://github.com/RIOT-OS/RIOT/commit/b43fda4b0f01a90307df008feb38fd2239a6726e
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-09-28 (Sun, 28 Sep 2014)

  Changed paths:
    M Makefile.base

  Log Message:
  -----------
  Merge pull request #1725 from LudwigOrtmann/dont-make-alot

make: only depend on directories that don't exist


Compare: https://github.com/RIOT-OS/RIOT/compare/bf87d8ff0405...b43fda4b0f01


More information about the commits mailing list