Changeset 277


Ignore:
Timestamp:
2005-02-21T05:42:12+01:00 (13 years ago)
Author:
wbx
Message:

add dirclean targets, add jffs2root compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/openwrt/openwrt.mk

    r263 r277  
    3535        -$(MAKE) -C $(LINKSYS_SHARED_DIR) clean 
    3636 
     37linksys-shared-dirclean: 
     38        rm -rf $(LINKSYS_SHARED_DIR) 
    3739 
    3840# nvram tool extracted from linksys firmware GPL sourcetree 
     
    5961linksys-nvram-clean: 
    6062        -$(MAKE) -C $(LINKSYS_NVRAM_BUILD_DIR) clean 
     63 
     64linksys-nvram-dirclean: 
     65        rm -rf $(LINKSYS_NVRAM_BUILD_DIR) 
    6166 
    6267# wlconf tool extracted from linksys firmware GPL sourcetree 
     
    8994        -$(MAKE) -C $(LINKSYS_WLCONF_BUILD_DIR) clean 
    9095 
     96linksys-wlconf-dirclean: 
     97        rm -rf $(LINKSYS_WLCONF_BUILD_DIR) 
    9198 
    9299# mtd tool 
     
    99106openwrt-mtd: $(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY) 
    100107 
     108openwrt-mtd-clean: 
     109        rm $(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY) 
     110 
     111# jffs2root tool 
     112OPENWRT_JFFS2ROOT_SOURCE=package/openwrt/jffs2root.c 
     113OPENWRT_JFFS2ROOT_TARGET_BINARY:=sbin/jffs2root 
     114 
     115$(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY):  
     116                $(TARGET_CC) -o $(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY) $(OPENWRT_JFFS2ROOT_SOURCE) 
     117 
     118openwrt-jffs2root: $(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY) 
     119 
     120openwrt-jffs2root-clean: 
     121        rm $(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY) 
     122 
    101123# trx tool 
    102124OPENWRT_TRX_SOURCE=package/openwrt/trx.c 
     
    107129 
    108130openwrt-trx: $(OPENWRT_TRX_TARGET) 
     131 
     132openwrt-trx-clean:  
     133        rm $(OPENWRT_TRX_TARGET) 
    109134 
    110135# addpattern tool 
     
    117142openwrt-addpattern: $(OPENWRT_ADDPATTERN_TARGET) 
    118143 
     144openwrt-addpattern-clean:  
     145        rm $(OPENWRT_ADDPATTERN_TARGET) 
     146 
    119147openwrt:        linksys-shared linksys-nvram linksys-wlconf openwrt-mtd openwrt-trx openwrt-addpattern 
    120148 
Note: See TracChangeset for help on using the changeset viewer.