1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

Adjust dependency rules to permit per-file flags

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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2011-10-07 13:53:49 +00:00
committed by Wolfgang Denk
parent 925493582c
commit 4750884306
4 changed files with 42 additions and 13 deletions

2
.gitignore vendored
View File

@@ -40,7 +40,7 @@
# Generated files
#
*.depend
*.depend*
/LOG
/errlog
/reloc_off