diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-07-20 19:02:21 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-21 09:23:36 +0200 |
commit | d4abc757c26c531293f5bbc4262ade44a317eec9 (patch) | |
tree | 125ef9d60654aafbf8c413cb8379957e14917196 | |
parent | af1d7d984a23a0faa1f436ebfeb55c876b1a99e1 (diff) | |
download | u-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>
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | examples/api/.gitignore (renamed from api_examples/.gitignore) | 0 | ||||
-rw-r--r-- | examples/api/Makefile (renamed from api_examples/Makefile) | 8 | ||||
-rw-r--r-- | examples/api/crt0.S (renamed from api_examples/crt0.S) | 0 | ||||
-rw-r--r-- | examples/api/demo.c (renamed from api_examples/demo.c) | 0 | ||||
-rw-r--r-- | examples/api/glue.c (renamed from api_examples/glue.c) | 0 | ||||
-rw-r--r-- | examples/api/glue.h (renamed from api_examples/glue.h) | 0 | ||||
-rw-r--r-- | examples/api/libgenwrap.c (renamed from api_examples/libgenwrap.c) | 0 |
8 files changed, 7 insertions, 6 deletions
@@ -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 \ diff --git a/api_examples/.gitignore b/examples/api/.gitignore index d7b18dc..d7b18dc 100644 --- a/api_examples/.gitignore +++ b/examples/api/.gitignore diff --git a/api_examples/Makefile b/examples/api/Makefile index 2a30bef..2d05a01 100644 --- a/api_examples/Makefile +++ b/examples/api/Makefile @@ -33,13 +33,13 @@ include $(TOPDIR)/config.mk OUTPUT-$(CONFIG_API) = $(obj)demo OUTPUT = $(OUTPUT-y) -# Source files located in the api_examples directory +# Source files located in the examples/api directory SOBJ_FILES-$(CONFIG_API) += crt0.o COBJ_FILES-$(CONFIG_API) += demo.o COBJ_FILES-$(CONFIG_API) += glue.o COBJ_FILES-$(CONFIG_API) += libgenwrap.o -# Source files which exist outside the api_examples directory +# Source files which exist outside the examples/api directory EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/crc32.o EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/ctype.o EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/string.o @@ -51,8 +51,8 @@ endif # Create a list of source files so their dependencies can be auto-generated SRCS += $(addprefix $(SRCTREE)/,$(EXT_COBJ_FILES-y:.o=.c)) SRCS += $(addprefix $(SRCTREE)/,$(EXT_SOBJ_FILES-y:.o=.S)) -SRCS += $(addprefix $(SRCTREE)/api_examples/,$(COBJ_FILES-y:.o=.c)) -SRCS += $(addprefix $(SRCTREE)/api_examples/,$(SOBJ_FILES-y:.o=.S)) +SRCS += $(addprefix $(SRCTREE)/examples/api/,$(COBJ_FILES-y:.o=.c)) +SRCS += $(addprefix $(SRCTREE)/examples/api/,$(SOBJ_FILES-y:.o=.S)) # Create a list of object files to be compiled OBJS += $(addprefix $(obj),$(SOBJ_FILES-y)) diff --git a/api_examples/crt0.S b/examples/api/crt0.S index 6daf127..6daf127 100644 --- a/api_examples/crt0.S +++ b/examples/api/crt0.S diff --git a/api_examples/demo.c b/examples/api/demo.c index df9c4bd..df9c4bd 100644 --- a/api_examples/demo.c +++ b/examples/api/demo.c diff --git a/api_examples/glue.c b/examples/api/glue.c index eff6a7e..eff6a7e 100644 --- a/api_examples/glue.c +++ b/examples/api/glue.c diff --git a/api_examples/glue.h b/examples/api/glue.h index 6bf47d0..6bf47d0 100644 --- a/api_examples/glue.h +++ b/examples/api/glue.h diff --git a/api_examples/libgenwrap.c b/examples/api/libgenwrap.c index 2b62bad..2b62bad 100644 --- a/api_examples/libgenwrap.c +++ b/examples/api/libgenwrap.c |