openap-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openap-cvs] : openap-main/config/wl11000 reflash,1.1,1.2 rules.mk,1.6,1


From: David Kimdon <address@hidden>
Subject: [openap-cvs] : openap-main/config/wl11000 reflash,1.1,1.2 rules.mk,1.6,1.7
Date: Fri, 09 Aug 2002 21:48:16 -0400

Update of /cvsroot/openap/openap-main/config/wl11000
In directory subversions:/tmp/cvs-serv2623/config/wl11000

Modified Files:
        reflash rules.mk 
Log Message:
* Makefile: allow config/<target>/rules.mk to specify extra install and subdir 
targets.
* README: describe (tersely) how to get linux into your working copy
* config/wl11000/reflash: allow me to type less, remove cruft
* config/wl11000/rules.mk: fix paths, add buidl target for watchdog daemon
* rootskel/Makefile: don't create /tmp (someone might want to make it a 
  symlink to somewhere), rcX_FILES vars are defined earlier, so use +=.


Index: reflash
===================================================================
RCS file: /cvsroot/openap/openap-main/config/wl11000/reflash,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- reflash     10 Aug 2002 00:11:38 -0000      1.1
+++ reflash     10 Aug 2002 01:48:14 -0000      1.2
@@ -1,19 +1,19 @@
-#!/bin/sh
+#!/bin/sh -x
 
 if [ -z "$1" ] ; then
-       echo "Usage: $0 http://flash_url/flash";
+       echo "Usage: $0 hostname/path"
        exit 1
 fi
 
 # disable the watchdog
-/usr/bin/killall -10 i802d
+/etc/init.d/watchdog stop
 
 sleep 1
 
 set -e
 cd /tmp
-/usr/bin/wget $1     -O flash
-/usr/bin/wget $1.md5 -O flash.md5
+/usr/bin/wget http://$1     -O flash
+/usr/bin/wget http://$1.md5 -O flash.md5
 /usr/bin/md5sum      -c flash.md5
 set +e
 

Index: rules.mk
===================================================================
RCS file: /cvsroot/openap/openap-main/config/wl11000/rules.mk,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rules.mk    10 Aug 2002 00:14:03 -0000      1.6
+++ rules.mk    10 Aug 2002 01:48:14 -0000      1.7
@@ -1,4 +1,4 @@
-WL11000=$(TOPDIR)/config/wl11000
+WL11000=config/wl11000
 
 rcS_FILES += $(WL11000)/S10configfs $(WL11000)/S20wireless
 
@@ -16,9 +16,13 @@
 rc1_FILES += $(WL11000)/K50tcpip.router
 endif
 
-EXTRA_IMAGE_TARGETS += wl11000_programs wl11000_devices wl11000_image
+EXTRA_SUBDIRS_TARGETS += wl11000_progs
+EXTRA_INSTALL_TARGETS += wl11000_install
+EXTRA_IMAGE_TARGETS += wl11000_devices wl11000_image
 EXTRA_TOOLS_TARGETS += cramfsprogs
 
+wl11000_progs:
+       $(CC) $(CFLAGS) $(WL11000)/dog.c -o $(WL11000)/dog
 
 sram: subdirs
        $(MAKE) -C alios clean
@@ -34,9 +38,11 @@
        cp flash $(IMAGE_DIR)/flash
        ./misc/build_flash.pl 2097152 sram # 2 * 1024 * 1024
 
-wl11000_programs:
+wl11000_install:
        $(INSTALL) -d $(DESTDIR)/bin
+       $(INSTALL) -d $(DESTDIR)/sbin
        $(INSTALL) $(WL11000)/reflash $(DESTDIR)/bin
+       $(INSTALL) $(WL11000)/dog $(DESTDIR)/sbin
 
 MKNOD = /bin/mknod
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]