diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-06-22 18:01:41 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-11 00:31:05 +0200 |
commit | 876b3cef537aab2cba8c19505db2876f6057f818 (patch) | |
tree | 2d6830436bef1f101d4f3f863014d944c73bfd9f /api_examples/.gitignore | |
parent | 522f6f02adb93194e337016fe2e4e53c58d5d5ea (diff) |
api_examples/Makefile: General cleanup
* Remove symlinking of files located outside api_examples/
* Auto generate dependencies for files located outside api_examples/
* Update names of variables to be similar to those in tools/Makefile
* Fix out of tree build error
Dependencies are calculated for all files in the SRCS variable.
Previously, the SRCS variable contained files which were symlinked
into the api_examples/ directory. These symlinked files did not exist
when dependencies were calculated when building out of tree. This
resulted in errors such as:
make[1]: *** No rule to make target `/work/wd/tmp-ppc/api_examples/.depend', needed by `_depend'. Stop.
make[1]: Leaving directory `/home/wd/git/u-boot/work/api_examples'
make: *** [depend] Error 2
Since symlinked source files are no longer used, this bug no longer
exists.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
Diffstat (limited to 'api_examples/.gitignore')
-rw-r--r-- | api_examples/.gitignore | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/api_examples/.gitignore b/api_examples/.gitignore index 272816f70d..d7b18dcef5 100644 --- a/api_examples/.gitignore +++ b/api_examples/.gitignore @@ -1,7 +1,2 @@ -crc32.c -ctype.c demo demo.bin -ppcstring.S -string.c -vsprintf.c |