diff options
author | Wolfgang Denk <wd@denx.de> | 2008-01-09 22:06:15 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 22:06:15 (GMT) |
commit | ecc198c9b9522aa766235b7780f8ef7e01d0d0e2 (patch) | |
tree | 66c8d0f5456decaa19ba8ba61df2c100a4b0efc5 /Makefile | |
parent | cc557950f742fe18003638963e267d52036159ce (diff) | |
parent | 500856eb1707ed17d9204baa61dd59948d3b2899 (diff) | |
download | u-boot-fsl-qoriq-ecc198c9b9522aa766235b7780f8ef7e01d0d0e2.tar.xz |
Merge branch 'master' of git://www.denx.de/git/u-boot-freebsd
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 \ |