From 500856eb1707ed17d9204baa61dd59948d3b2899 Mon Sep 17 00:00:00 2001 From: Rafal Jaworowski Date: Wed, 9 Jan 2008 19:39:36 +0100 Subject: API for external applications. This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by: Rafal Jaworowski --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47db5b7..0e94875 100644 --- a/Makefile +++ b/Makefile @@ -243,6 +243,9 @@ LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \ "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi) LIBS += common/libcommon.a LIBS += libfdt/libfdt.a +ifeq ($(CONFIG_API),y) +LIBS += api/libapi.a +endif LIBS := $(addprefix $(obj),$(LIBS)) .PHONY : $(LIBS) @@ -255,6 +258,10 @@ PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) - SUBDIRS = tools \ examples +ifeq ($(CONFIG_API),y) +SUBDIRS += api_examples +endif + .PHONY : $(SUBDIRS) ifeq ($(CONFIG_NAND_U_BOOT),y) @@ -2749,6 +2756,7 @@ clean: rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds rm -f $(obj)include/bmp_logo.h rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map + rm -f $(obj)api_examples/demo clobber: clean find $(OBJTREE) -type f \( -name .depend \ @@ -2762,6 +2770,8 @@ clobber: clean rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f + find $(obj)api_examples -lname "*" -print | xargs rm -f + rm -f $(obj)api_examples/demo ifeq ($(OBJTREE),$(SRCTREE)) mrproper \ -- cgit v1.1 From 11c45ebd46d6517b51b7a92dd52a618b2f4e5586 Mon Sep 17 00:00:00 2001 From: Joe Hamman Date: Thu, 13 Dec 2007 06:45:08 -0600 Subject: mpc85xx: Add support for SBC8548 (updated) Add support for Wind River's SBC8548 reference board. Signed-off by: Joe Hamman Signed-off by: Andy Fleming --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47db5b7..d3608fd 100644 --- a/Makefile +++ b/Makefile @@ -2025,6 +2025,9 @@ sbc8540_66_config: unconfig fi @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560 +sbc8548_config: unconfig + @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548 + sbc8560_config \ sbc8560_33_config \ sbc8560_66_config: unconfig -- cgit v1.1 From 7bd6104b71de9bca80ac8e0936003443bb42f2fc Mon Sep 17 00:00:00 2001 From: robert lazarski Date: Fri, 21 Dec 2007 10:36:37 -0500 Subject: mpc85xx: Add support for ATUM8548 (updated) Add support for Instituto Atlantico's ATUM8548 board Signed-off-by: robert lazarski --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d3608fd..2f3d72a 100644 --- a/Makefile +++ b/Makefile @@ -1943,6 +1943,9 @@ TQM834x_config: unconfig ## MPC85xx Systems ######################################################################### +ATUM8548_config: unconfig + @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548 + MPC8540ADS_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale -- cgit v1.1