"Das U-Boot" Source Tree

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>

authored by

Peter Tyser and committed by
Wolfgang Denk
d4abc757 af1d7d98

+7 -6
+3 -2
Makefile
··· 141 141 # Don't include stuff already done in $(LIBS) 142 142 SUBDIRS = tools \ 143 143 examples/standalone \ 144 - api_examples 144 + examples/api 145 145 146 146 .PHONY : $(SUBDIRS) 147 147 ··· 3601 3601 $(obj)examples/standalone/smc91111_eeprom \ 3602 3602 $(obj)examples/standalone/test_burst \ 3603 3603 $(obj)examples/standalone/timer 3604 + @rm -f $(obj)examples/api/demo{,.bin} 3604 3605 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \ 3605 3606 $(obj)tools/env/{fw_printenv,fw_setenv} \ 3606 3607 $(obj)tools/envcrc \ ··· 3617 3618 @rm -f $(obj)include/bmp_logo.h 3618 3619 @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map} 3619 3620 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map} 3620 - @rm -f $(obj)api_examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE) 3621 + @rm -f $(TIMESTAMP_FILE) $(VERSION_FILE) 3621 3622 @find $(OBJTREE) -type f \ 3622 3623 \( -name 'core' -o -name '*.bak' -o -name '*~' \ 3623 3624 -o -name '*.o' -o -name '*.a' -o -name '*.exe' \) -print \
api_examples/.gitignore examples/api/.gitignore
+4 -4
api_examples/Makefile examples/api/Makefile
··· 33 33 OUTPUT-$(CONFIG_API) = $(obj)demo 34 34 OUTPUT = $(OUTPUT-y) 35 35 36 - # Source files located in the api_examples directory 36 + # Source files located in the examples/api directory 37 37 SOBJ_FILES-$(CONFIG_API) += crt0.o 38 38 COBJ_FILES-$(CONFIG_API) += demo.o 39 39 COBJ_FILES-$(CONFIG_API) += glue.o 40 40 COBJ_FILES-$(CONFIG_API) += libgenwrap.o 41 41 42 - # Source files which exist outside the api_examples directory 42 + # Source files which exist outside the examples/api directory 43 43 EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/crc32.o 44 44 EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/ctype.o 45 45 EXT_COBJ_FILES-$(CONFIG_API) += lib_generic/string.o ··· 51 51 # Create a list of source files so their dependencies can be auto-generated 52 52 SRCS += $(addprefix $(SRCTREE)/,$(EXT_COBJ_FILES-y:.o=.c)) 53 53 SRCS += $(addprefix $(SRCTREE)/,$(EXT_SOBJ_FILES-y:.o=.S)) 54 - SRCS += $(addprefix $(SRCTREE)/api_examples/,$(COBJ_FILES-y:.o=.c)) 55 - SRCS += $(addprefix $(SRCTREE)/api_examples/,$(SOBJ_FILES-y:.o=.S)) 54 + SRCS += $(addprefix $(SRCTREE)/examples/api/,$(COBJ_FILES-y:.o=.c)) 55 + SRCS += $(addprefix $(SRCTREE)/examples/api/,$(SOBJ_FILES-y:.o=.S)) 56 56 57 57 # Create a list of object files to be compiled 58 58 OBJS += $(addprefix $(obj),$(SOBJ_FILES-y))
api_examples/crt0.S examples/api/crt0.S
api_examples/demo.c examples/api/demo.c
api_examples/glue.c examples/api/glue.c
api_examples/glue.h examples/api/glue.h
api_examples/libgenwrap.c examples/api/libgenwrap.c