summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-07-20 19:02:21 -0500
committerWolfgang Denk <wd@denx.de>2009-07-21 09:23:36 +0200
commitd4abc757c26c531293f5bbc4262ade44a317eec9 (patch)
tree125ef9d60654aafbf8c413cb8379957e14917196 /Makefile
parentaf1d7d984a23a0faa1f436ebfeb55c876b1a99e1 (diff)
downloadu-boot-imx-d4abc757c26c531293f5bbc4262ade44a317eec9.zip
u-boot-imx-d4abc757c26c531293f5bbc4262ade44a317eec9.tar.gz
u-boot-imx-d4abc757c26c531293f5bbc4262ade44a317eec9.tar.bz2
Move api_examples to examples/api
Also add a rule to remove demo.bin which was previously leftover after a "make clean" Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9ffba2e..25a6254 100644
--- a/Makefile
+++ b/Makefile
@@ -141,7 +141,7 @@ endif
# Don't include stuff already done in $(LIBS)
SUBDIRS = tools \
examples/standalone \
- api_examples
+ examples/api
.PHONY : $(SUBDIRS)
@@ -3601,6 +3601,7 @@ clean:
$(obj)examples/standalone/smc91111_eeprom \
$(obj)examples/standalone/test_burst \
$(obj)examples/standalone/timer
+ @rm -f $(obj)examples/api/demo{,.bin}
@rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \
$(obj)tools/env/{fw_printenv,fw_setenv} \
$(obj)tools/envcrc \
@@ -3617,7 +3618,7 @@ clean:
@rm -f $(obj)include/bmp_logo.h
@rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
@rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map}
- @rm -f $(obj)api_examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE)
+ @rm -f $(TIMESTAMP_FILE) $(VERSION_FILE)
@find $(OBJTREE) -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o' -o -name '*.a' -o -name '*.exe' \) -print \