Changeset 4168


Ignore:
Timestamp:
2006-07-19T15:25:09+02:00 (12 years ago)
Author:
nbd
Message:

add a simple prerequisite check

Location:
branches/buildroot-ng/openwrt
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/Makefile

    r4130 r4168  
    8282        @$< -D .config Config.in &> /dev/null 
    8383 
     84.prereq: $(TOPDIR)/include/prereq.mk .pkginfo 
     85        @$(NO_TRACE_MAKE) -s -f $(TOPDIR)/include/prereq.mk prereq 2>/dev/null || { \ 
     86                echo "Prerequisite check failed. Use FORCE=1 to override."; \ 
     87                false; \ 
     88        } 
     89        @touch $@ 
     90 
     91prereq: .prereq FORCE 
     92 
    8493download: .config FORCE 
    8594        $(MAKE) toolchain/download 
    8695        $(MAKE) package/download 
    8796        $(MAKE) target/download 
     97 
     98ifeq ($(FORCE),) 
     99world: .prereq 
     100endif 
    88101 
    89102world: .config FORCE 
  • branches/buildroot-ng/openwrt/rules.mk

    r4091 r4168  
    2929IPKG_TARGET_DIR:=$(PACKAGE_DIR) 
    3030BUILD_DIR:=$(TOPDIR)/build_$(ARCH) 
     31TMP_DIR:=$(BUILD_DIR)/tmp 
    3132STAMP_DIR:=$(BUILD_DIR)/stamp 
    3233TARGET_DIR:=$(BUILD_DIR)/root 
Note: See TracChangeset for help on using the changeset viewer.