{"push_id":1469049775,"size":2,"distinct_size":2,"ref":"refs/heads/build","head":"1785c9e50bdd4d3cfefd5e2a5328abe11cdb75a6","before":"d0a03d2461cd9fb1342de5367aef17b311a17e78","commits":[{"sha":"b887ed8253b6affdd03c25df0fbbe0fccc14d02d","author":{"name":"Masahiro Yamada","email":"642490827508ea1a46cbcea45eb79617d0758c10@socionext.com"},"message":"Build: generate .d file at the same time as object is created\n\nCurrently, .d files are generated before any objects are built.\nSo, IS_ANYTHING_TO_BUILD flag is needed to avoid such processing for\nnon-build targets.\n\nThere is a cleverer way; just create a .d file simultaneously when\nthe corresponding object is created.  No need to have separate rules\nfor .d files.\n\nThis commit will also fix a bug; -D$(IMAGE) is defined for $(OBJ),\nbut not for $(PREREQUISITES).  So, .d files are generated with\ndifferent macro sets from those for .o files, then wrong .d files\nare generated.\n\nFor example, in lib/cpus/aarch64/cpu_helpers.S\n\n  #if IMAGE_BL31\n  #include <cpu_data.h>\n  #endif\n\n<cpu_data.h> is parsed for the object when built for BL3, but the\n.d file does not pick up that dependency.\n\nWith this commit, the compiler will generate .o and .d at the same\ntime, guaranteeing they are generated under the same circumstances.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>","distinct":true,"url":"https://api.github.com/repos/masahir0y/arm-trusted-firmware/commits/b887ed8253b6affdd03c25df0fbbe0fccc14d02d"},{"sha":"1785c9e50bdd4d3cfefd5e2a5328abe11cdb75a6","author":{"name":"Masahiro Yamada","email":"642490827508ea1a46cbcea45eb79617d0758c10@socionext.com"},"message":"Build: add -MP option to add dummy rules to *.d files\n\nThis adds a phony target for each dependency other than the main\nfile, causing each to depend on nothing.\n\nWithout this, the incremental build will fail when a header file\nis removed.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>","distinct":true,"url":"https://api.github.com/repos/masahir0y/arm-trusted-firmware/commits/1785c9e50bdd4d3cfefd5e2a5328abe11cdb75a6"}]}
{"actor":{"display_login":"masahir0y"}}