Changeset 286


Ignore:
Timestamp:
Jul 23, 2011, 11:19:31 AM (8 years ago)
Author:
amain
Message:

Add openwrt update/clean targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/openwrt.mk

    r283 r286  
    111111
    112112openwrt/update: openwrt/checkout
    113 ifeq ($(IS_OPENWRT_TRUNK),y)
    114         cd $(OPENWRT_BUILD_DIR) && \
    115           svn update svn://svn.openwrt.org/openwrt/trunk/ .
    116 else ifeq ($(IS_OPENWRT_BACKFIRE),y)
    117         cd $(OPENWRT_BUILD_DIR) && \
    118           svn update svn://svn.openwrt.org/openwrt/branches/backfire/ .
    119 else
    120         cd $(OPENWRT_BUILD_DIR) && \
    121           svn update -r $(OPENWRT_REVISION) svn://svn.openwrt.org/openwrt/trunk/ .
    122 endif
     113        cd $(OPENWRT_BUILD_DIR) && svn update
    123114
    124115openwrt/menuconfig: openwrt/prepare
     
    131122
    132123openwrt/clean:
     124        $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR) clean V=$(V)
     125
     126openwrt/dirclean:
     127        $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR) dirclean V=$(V)
     128
     129openwrt/distclean:
     130        $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR) distclean V=$(V)
     131
     132openwrt/debwrt-clean:
    133133        rm -rf $(OPENWRT_BUILD_DIR)
    134134        rm -f openwrt/checkout
    135135        rm -f openwrt/patch
    136 
Note: See TracChangeset for help on using the changeset viewer.