Changeset 240


Ignore:
Timestamp:
2005-02-12T04:46:10+01:00 (13 years ago)
Author:
wbx
Message:

i am to lame for make, both targets can be build again

Location:
trunk/openwrt/target
Files:
3 edited

Legend:

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

    r197 r240  
    11ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y) 
    2 TARGETS+=jffs2root 
     2TARGETS+=jffs2root openwrt-image 
    33endif 
  • trunk/openwrt/target/jffs2/jffs2root.mk

    r197 r240  
    3636        @rm -rf $(TARGET_DIR)/usr/info 
    3737        $(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \ 
    38                 -D target/default/device_table.txt -d $(TARGET_DIR) \ 
    39                 -o $(IMAGE).jffs2 
     38                -d $(TARGET_DIR) -o $(IMAGE).jffs2 
    4039 
    4140jffs2root-source: $(DL_DIR)/$(MTD_SOURCE) 
     
    4746        rm -rf $(MTD_DIR) 
    4847 
     48openwrt-linux.trx.jffs2: 
     49        $(BUILD_DIR)/trx -o openwrt-linux.trx.jffs2 $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).jffs2 
     50 
     51openwrt-gs-code.bin.jffs2: openwrt-linux.trx.jffs2 
     52        $(BUILD_DIR)/addpattern -2 -i  openwrt-linux.trx.jffs2 -o openwrt-gs-code.bin.jffs2 -g 
     53 
     54openwrt-g-code.bin.jffs2: openwrt-gs-code.bin.jffs2 
     55        sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin.jffs2 > openwrt-g-code.bin.jffs2 
     56 
     57openwrt-image:  openwrt-g-code.bin.jffs2 
    4958 
    5059 
  • trunk/openwrt/target/squashfs/squashfsroot.mk

    r230 r240  
    44#  
    55############################################################# 
    6  
    7 ROOTFSTYPE=squashfs 
    86 
    97SQUASHFS_DIR=$(BUILD_DIR)/squashfs2.1-r2 
     
    4139        @rm -rf $(TARGET_DIR)/usr/man 
    4240        @rm -rf $(TARGET_DIR)/usr/info 
    43         $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).$(ROOTFSTYPE) -noappend -root-owned -le 
     41        $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).squashfs -noappend -root-owned -le 
    4442 
    4543squashfsroot-source: squashfs-source 
     
    5149        rm -rf $(SQUASHFS_DIR) 
    5250 
    53 openwrt-linux.trx.$(ROOTFSTYPE): 
    54         $(BUILD_DIR)/trx -o openwrt-linux.trx.$(ROOTFSTYPE) $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFSTYPE) 
     51openwrt-linux.trx.squashfs: 
     52        $(BUILD_DIR)/trx -o openwrt-linux.trx.squashfs $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).squashfs 
    5553 
    56 openwrt-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 
     54openwrt-gs-code.bin.squashfs: openwrt-linux.trx.squashfs 
     55        $(BUILD_DIR)/addpattern -2 -i  openwrt-linux.trx.squashfs -o openwrt-gs-code.bin.squashfs -g 
    5856 
    59 openwrt-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) 
     57openwrt-g-code.bin.squashfs: openwrt-gs-code.bin.squashfs 
     58        sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin.squashfs > openwrt-g-code.bin.squashfs 
    6159 
    62 openwrt-image:  openwrt-g-code.bin.$(ROOTFSTYPE) 
     60openwrt-image:  openwrt-g-code.bin.squashfs 
Note: See TracChangeset for help on using the changeset viewer.