Changeset 230


Ignore:
Timestamp:
2005-02-12T03:35:19+01:00 (13 years ago)
Author:
wbx
Message:

some Makefile cleanup

Location:
trunk/openwrt/target/squashfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/squashfs/Makefile.in

    r213 r230  
    11ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y) 
    2 TARGETS+=squashfsroot openwrt-code.bin.squashfs 
     2TARGETS+=openwrt-image 
    33endif 
  • trunk/openwrt/target/squashfs/squashfsroot.mk

    r213 r230  
    44#  
    55############################################################# 
     6 
     7ROOTFSTYPE=squashfs 
    68 
    79SQUASHFS_DIR=$(BUILD_DIR)/squashfs2.1-r2 
     
    3941        @rm -rf $(TARGET_DIR)/usr/man 
    4042        @rm -rf $(TARGET_DIR)/usr/info 
    41         $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).squashfs -noappend -root-owned -le 
     43        $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).$(ROOTFSTYPE) -noappend -root-owned -le 
    4244 
    4345squashfsroot-source: squashfs-source 
     
    4951        rm -rf $(SQUASHFS_DIR) 
    5052 
     53openwrt-linux.trx.$(ROOTFSTYPE): 
     54        $(BUILD_DIR)/trx -o openwrt-linux.trx.$(ROOTFSTYPE) $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFSTYPE) 
     55 
     56openwrt-gs-code.bin.$(ROOTFSTYPE): openwrt-linux.trx.$(ROOTFSTYPE) 
     57        $(BUILD_DIR)/addpattern -2 -i  openwrt-linux.trx.$(ROOTFSTYPE) -o openwrt-gs-code.bin.$(ROOTFSTYPE) -g 
     58 
     59openwrt-g-code.bin.$(ROOTFSTYPE): openwrt-gs-code.bin.$(ROOTFSTYPE) 
     60        sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin.$(ROOTFSTYPE) > openwrt-g-code.bin.$(ROOTFSTYPE) 
     61 
     62openwrt-image:  openwrt-g-code.bin.$(ROOTFSTYPE) 
Note: See TracChangeset for help on using the changeset viewer.