Changeset 12106


Ignore:
Timestamp:
2008-08-05T01:15:17+02:00 (10 years ago)
Author:
nbd
Message:

make package prereq checks behave more like build prereq checks (first check all, then fail if necessary), also make them less verbose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r11414 r12106  
    5757        rm -rf $(TMP_DIR) 
    5858 
     59tmp/.prereq_packages: .config 
     60        unset ERROR; \ 
     61        for package in $(sort $(prereq-y) $(prereq-m)); do \ 
     62                $(NO_TRACE_MAKE) -s -r -C package/$$package prereq || ERROR=1; \ 
     63        done; \ 
     64        if [ -n "$$ERROR" ]; then \ 
     65                echo "Package prerequisite check failed."; \ 
     66                false; \ 
     67        fi 
     68        touch $@ 
     69 
    5970# check prerequisites before starting to build 
    60 prereq: $(package/stamp-prereq) $(target/stamp-prereq) ; 
     71prereq: $(target/stamp-prereq) tmp/.prereq_packages 
    6172 
    6273prepare: .config $(tools/stamp-install) $(toolchain/stamp-install) 
Note: See TracChangeset for help on using the changeset viewer.