Changeset 296


Ignore:
Timestamp:
2005-02-28T08:04:51+01:00 (13 years ago)
Author:
mbm
Message:

bugfixes

Location:
trunk/openwrt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/Makefile

    r294 r296  
    4949# 
    5050############################################################## 
    51 TARGETS:=host-sed kernel-headers uclibc-configured binutils gcc uclibc-target-utils 
    52 TARGETS+=openwrt-sstrip linux 
     51TARGETS:=host-sed kernel-headers uclibc-configured binutils gcc uclibc-target-utils linux openwrt 
    5352 
    5453include toolchain/Makefile.in 
     
    119118        -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf 
    120119        -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf 
    121         -ln -sf /tmp/resolv.conf $(TARGET_DIR) 
     120        -ln -sf /tmp/resolv.conf $(TARGET_DIR)/etc 
    122121        -mkdir -p $(TARGET_DIR)/jffs 
    123122 
     
    227226        menuconfig tags check test depend 
    228227 
     228targets: 
     229        @echo $(TARGETS) 
  • trunk/openwrt/package/openwrt/openwrt.mk

    r288 r296  
    161161linksys:        linksys-shared linksys-nvram linksys-wlconf 
    162162 
    163 openwrt:        linksys openwrt-mtd openwrt-trx openwrt-addpattern openwrt-jffs2root 
     163openwrt:        linksys openwrt-mtd openwrt-trx openwrt-addpattern openwrt-jffs2root openwrt-sstrip 
    164164 
    165165openwrt-dirclean: linksys-shared-dirclean linksys-nvram-dirclean linksys-wlconf-dirclean 
  • trunk/openwrt/target/default/target_skeleton/etc/preinit

    r294 r296  
    11#!/bin/sh 
    22mount none /proc -t proc 
     3mount none /tmp -t ramfs 
    34insmod diag 
    45echo 0x01 > /proc/sys/diag 
     
    89  while :; do { echo $(((X=(X+1)%8)%2)) > /proc/sys/diag; sleep $((X==0)); } done & 
    910else 
    10   mount | grep jffs2 1>&- || { 
     11  mount | grep jffs2 >&- 
     12  if [ $? = 0 ] && [ $(cat /proc/mtd | wc -l) = 6 ] ; then 
     13    jffs2root --move && reboot  
     14  else 
    1115    mtd unlock mtd4 
    1216    mount -t jffs2 /dev/mtdblock/4 /jffs 
    1317    pivot_root /jffs /jffs/rom 
    14   } 
    15   mount none /dev -t devfs 
    16   mount none /proc -t proc 
    17   umount rom/proc 
     18    mount none /dev -t devfs 
     19    mount none /proc -t proc 
     20    umount rom/proc 
     21  fi 
    1822fi 
    19 mount none /tmp -t ramfs 
    2023exec /sbin/init 
  • trunk/openwrt/target/jffs2/jffs2root.mk

    r267 r296  
    3030 
    3131jffs2root: mtd 
    32         #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true; 
    33         -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; 
     32        -@find $(TARGET_DIR) -type f -perm +111 | xargs $(SSTRIP) 2>/dev/null || true; 
    3433        @rm -rf $(TARGET_DIR)/usr/man 
    3534        @rm -rf $(TARGET_DIR)/usr/info 
Note: See TracChangeset for help on using the changeset viewer.