Dear Simon Glass, In message <1318270953-32482-19-git-send-email-...@chromium.org> you wrote: > The dependency rules are currently done in a shell 'for' loop. This does not > permit Makefile variables to adjust preprocessor flags as is done with normal > compile flags, using the CFLAGS_path/file.o syntax. > > This change moves the dependency generation into the Makefile itself, and > permits a CPPFLAGS_path/file.o to adjust preprocessor flags on a file or > directory basis. > > The CPPFLAGS_... variable is also folded into CFLAGS during the build. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > Changes in v3: > - Change U-Boot's dependency generation to permit per-file flags > > Changes in v4: > - 'Improve' dependency generation to deal with source files containing paths > - Make sure that clobber target removes all dependency files > > Changes in v5: > - Fix dependency output to include $(obj) for out-of-tree builds > > .gitignore | 2 +- > Makefile | 2 +- > config.mk | 7 +++++++ > rules.mk | 44 +++++++++++++++++++++++++++++++++----------- > 4 files changed, 42 insertions(+), 13 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Some programming languages manage to absorb change, but withstand progress. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot