)]}'
{
  "commit": "56787086e3c1f5a33e0d6296818dd36951217db7",
  "tree": "5bebe4b4f1f55658769b815efb13303899ad96c3",
  "parents": [
    "33670ba5c4829a5ce1b6a3a5edeb2c9661207180"
  ],
  "author": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Thu Aug 18 02:27:19 2011 +0000"
  },
  "committer": {
    "name": "Stefan Tauner",
    "email": "stefan.tauner@alumni.tuwien.ac.at",
    "time": "Thu Aug 18 02:27:19 2011 +0000"
  },
  "message": "Makefile: fix and simplify test program compilations\n\nThis was totally broken due to the make\u0027s shell function\u0027s temporal\nbehavior.\n\nquote from the gnu make documentation\n(http://www.gnu.org/s/hello/manual/make/Shell-Function.html):\n\"The commands run by calls to the shell function are run when the\nfunction calls are expanded\"\nwe have used the shell function to echo the test programs to a file.\nthe file name used was equal for all tests and was overwritten for\neach test. the result was that all tests (in a single target?) used\nthe last test program because the echoing of the test programs was\ndone before all test compilations(!)\nsee my mail for details:\nhttp://lists.gnu.org/archive/html/bug-make/2011-08/msg00010.html\n\nalso the branching for testing ifeq ($(CONFIG_FT2232_SPI), yes) was\nunnecessarily complicated.\n\nin my approach here i am using verbatim variables (allows to define\neven complex test programs in the makefile without jumping through\nhoops) that get exported to environment variables (via \"export\",\nreference afterwards with \"$$\u003cvarname\u003e\").\n\ni have also added the missing redirection of stderr to the compiler\ntest and changed the definition of ARCH to use simple expansion (:\u003d).\n\nthe latter is still wrong, because it uses $(CC) before we check if\na compiler is installed... makes the compiler check pretty much\nuseless. The simple expansion just reduces the number of errors\nprinted to 1.\n\nCorresponding to flashrom svn r1416.\n\nSigned-off-by: Stefan Tauner \u003cstefan.tauner@alumni.tuwien.ac.at\u003e\nAcked-by: Carl-Daniel Hailfinger \u003cc-d.hailfinger.devel.2006@gmx.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c72d10a36008992aa6b91c80d50eb36679554e22",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "26f978f9a220439a194d974888f1774f647f7692",
      "new_mode": 33188,
      "new_path": "Makefile"
    }
  ]
}
