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 /lib_nios2 | |
parent | 522f6f02adb93194e337016fe2e4e53c58d5d5ea (diff) | |
download | u-boot-imx-876b3cef537aab2cba8c19505db2876f6057f818.zip u-boot-imx-876b3cef537aab2cba8c19505db2876f6057f818.tar.gz u-boot-imx-876b3cef537aab2cba8c19505db2876f6057f818.tar.bz2 |
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 'lib_nios2')
0 files changed, 0 insertions, 0 deletions