
Signed-off-by: Peter Tyser ptyser@xes-inc.com --- Makefile | 4 ++-- {api_examples => api/examples}/.gitignore | 0 {api_examples => api/examples}/Makefile | 8 ++++---- {api_examples => api/examples}/crt0.S | 0 {api_examples => api/examples}/demo.c | 0 {api_examples => api/examples}/glue.c | 0 {api_examples => api/examples}/glue.h | 0 {api_examples => api/examples}/libgenwrap.c | 0 8 files changed, 6 insertions(+), 6 deletions(-) rename {api_examples => api/examples}/.gitignore (100%) rename {api_examples => api/examples}/Makefile (91%) rename {api_examples => api/examples}/crt0.S (100%) rename {api_examples => api/examples}/demo.c (100%) rename {api_examples => api/examples}/glue.c (100%) rename {api_examples => api/examples}/glue.h (100%) rename {api_examples => api/examples}/libgenwrap.c (100%)
diff --git a/Makefile b/Makefile index ee3b6bf..41a40e2 100644 --- a/Makefile +++ b/Makefile @@ -142,5 +142,5 @@ endif SUBDIRS = tools \ examples \ - api_examples + api/examples
.PHONY : $(SUBDIRS) @@ -3609,5 +3609,5 @@ clean: @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 $(obj)api/examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE) @find $(OBJTREE) -type f \ ( -name 'core' -o -name '*.bak' -o -name '*~' \ diff --git a/api_examples/.gitignore b/api/examples/.gitignore similarity index 100% rename from api_examples/.gitignore rename to api/examples/.gitignore diff --git a/api_examples/Makefile b/api/examples/Makefile similarity index 91% rename from api_examples/Makefile rename to api/examples/Makefile index db9f6ea..5ca1584 100644 --- a/api_examples/Makefile +++ b/api/examples/Makefile @@ -34,5 +34,5 @@ OUTPUT-$(CONFIG_API) = $(obj)demo OUTPUT = $(OUTPUT-y)
-# Source files located in the api_examples directory +# Source files located in the api/examples directory SOBJ_FILES-$(CONFIG_API) += crt0.o COBJ_FILES-$(CONFIG_API) += demo.o @@ -40,5 +40,5 @@ 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 api/examples directory EXT_COBJ_FILES-$(CONFIG_API) += lib/generic/crc32.o EXT_COBJ_FILES-$(CONFIG_API) += lib/generic/ctype.o @@ -52,6 +52,6 @@ endif 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)/api/examples/,$(COBJ_FILES-y:.o=.c)) +SRCS += $(addprefix $(SRCTREE)/api/examples/,$(SOBJ_FILES-y:.o=.S))
# Create a list of object files to be compiled diff --git a/api_examples/crt0.S b/api/examples/crt0.S similarity index 100% rename from api_examples/crt0.S rename to api/examples/crt0.S diff --git a/api_examples/demo.c b/api/examples/demo.c similarity index 100% rename from api_examples/demo.c rename to api/examples/demo.c diff --git a/api_examples/glue.c b/api/examples/glue.c similarity index 100% rename from api_examples/glue.c rename to api/examples/glue.c diff --git a/api_examples/glue.h b/api/examples/glue.h similarity index 100% rename from api_examples/glue.h rename to api/examples/glue.h diff --git a/api_examples/libgenwrap.c b/api/examples/libgenwrap.c similarity index 100% rename from api_examples/libgenwrap.c rename to api/examples/libgenwrap.c