Changeset 124


Ignore:
Timestamp:
Apr 11, 2010, 1:37:06 PM (4 years ago)
Author:
stepan
Message:
  • drop duplicate .config
  • print an explicit message instead of bailing out with 2 pages of errors if there is no libpayload installed. The check could be better but it's a start.

Signed-off-by: Stefan Reinauer <stepan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/filo/Makefile

    r122 r124  
    100100TARGET  = $(obj)/filo.elf 
    101101 
    102 include $(src)/.config 
    103  
     102HAVE_LIBPAYLOAD := $(wildcard $(LIBPAYLOAD)) 
     103ifeq ($(strip $(HAVE_LIBPAYLOAD)),) 
     104all: 
     105        @printf "\nError: libpayload is not installed!\nexpected: $(LIBPAYLOAD).\n" 
     106else 
    104107all: prepare $(obj)/version.h $(TARGET) 
     108endif 
    105109 
    106110$(obj)/filo: $(src)/.config $(OBJS) 
Note: See TracChangeset for help on using the changeset viewer.