diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-02-13 16:03:20 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-02-13 16:03:20 -0600 |
commit | d075eec500acffed5fa404a45a3e12e158d0cb33 (patch) | |
tree | 2cecaae4e1c324827caa65d6c5215642ed4a91ed /Makefile | |
parent | 60c1b95aabbfac17b0ea9422828784e163348c5c (diff) | |
parent | 10bbb38a402a2faf18858c451bcdc63d45888e6e (diff) | |
download | u-boot-imx-d075eec500acffed5fa404a45a3e12e158d0cb33.zip u-boot-imx-d075eec500acffed5fa404a45a3e12e158d0cb33.tar.gz u-boot-imx-d075eec500acffed5fa404a45a3e12e158d0cb33.tar.bz2 |
Merge commit 'wd/master'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 3 insertions, 20 deletions
@@ -253,9 +253,7 @@ 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) @@ -266,11 +264,8 @@ PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) - # The "tools" are needed early, so put this first # Don't include stuff already done in $(LIBS) SUBDIRS = tools \ - examples - -ifeq ($(CONFIG_API),y) -SUBDIRS += api_examples -endif + examples \ + api_examples .PHONY : $(SUBDIRS) @@ -2467,20 +2462,8 @@ versatileab_config \ versatilepb_config : unconfig @board/versatile/split_by_variant.sh $@ -voiceblue_smallflash_config \ voiceblue_config: unconfig - @mkdir -p $(obj)include - @mkdir -p $(obj)board/voiceblue - @if [ "$(findstring _smallflash_,$@)" ] ; then \ - $(XECHO) "... boot from lower flash bank" ; \ - echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \ - echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \ - else \ - $(XECHO) "... boot from upper flash bank" ; \ - >$(obj)include/config.h ; \ - echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \ - fi - @$(MKCONFIG) -a voiceblue arm arm925t voiceblue + @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue cm4008_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695 |