summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-06-22 18:01:41 -0500
committerWolfgang Denk <wd@denx.de>2009-07-11 00:31:05 +0200
commit876b3cef537aab2cba8c19505db2876f6057f818 (patch)
tree2d6830436bef1f101d4f3f863014d944c73bfd9f /Makefile
parent522f6f02adb93194e337016fe2e4e53c58d5d5ea (diff)
downloadu-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 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 49ffac7..c53de17 100644
--- a/Makefile
+++ b/Makefile
@@ -3627,7 +3627,6 @@ clobber: clean
@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
@[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
@[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
- @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -name "*" -type l -print | xargs rm -f
ifeq ($(OBJTREE),$(SRCTREE))
mrproper \