Fixes for some makefiles. Added sash to initrd flist.

This commit is contained in:
mark 2000-05-17 19:27:19 +00:00
parent dc377dfab8
commit ad564b5a0f
11 changed files with 16 additions and 12 deletions

View File

@ -63,7 +63,6 @@ clean:
install:
set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
/sbin/depmod -a
config:
@touch config.mk

View File

@ -54,17 +54,17 @@ install:
if [ -f $(TARGET_PCMCIA_DIR)/wlan-ng ]; then \
mv -f $(TARGET_PCMCIA_DIR)/wlan-ng $(TARGET_PCMCIA_DIR)/wlan-ng.O ; \
fi ; \
cp -p wlan-ng $(TARGET_PCMCIA_DIR) ; \
cp wlan-ng $(TARGET_PCMCIA_DIR) ; \
chmod +x $(TARGET_PCMCIA_DIR)/wlan-ng ; \
if [ -f $(TARGET_PCMCIA_DIR)/wlan-ng.opts ]; then \
mv -f $(TARGET_PCMCIA_DIR)/wlan-ng.opts $(TARGET_PCMCIA_DIR)/wlan-ng.opts.O ; \
fi ; \
cp -p wlan-ng.opts $(TARGET_PCMCIA_DIR) ; \
cp wlan-ng.opts $(TARGET_PCMCIA_DIR) ; \
chmod +x $(TARGET_PCMCIA_DIR)/wlan-ng ; \
if [ -f $(TARGET_PCMCIA_DIR)/wlan-ng.conf ]; then \
mv -f $(TARGET_PCMCIA_DIR)/wlan-ng.conf $(TARGET_PCMCIA_DIR)/wlan-ng.conf.O ; \
fi ; \
cp -p wlan-ng.conf $(TARGET_PCMCIA_DIR) ; \
cp wlan-ng.conf $(TARGET_PCMCIA_DIR) ; \
if ! grep -sq 'source.*\.\/\*\.conf$$' $(TARGET_PCMCIA_DIR)/config ; then \
if ! grep -sq 'source \.\/wlan-ng.conf' $(TARGET_PCMCIA_DIR)/config ; then \
mv -f $(TARGET_PCMCIA_DIR)/config $(TARGET_PCMCIA_DIR)/config.O ; \

View File

@ -51,5 +51,5 @@ clean:
install:
mkdir -p $(TARGET_ROOT_ON_HOST)/etc/wlan
cp -p shared $(TARGET_ROOT_ON_HOST)/etc/wlan/shared
cp shared $(TARGET_ROOT_ON_HOST)/etc/wlan/shared

View File

@ -41,6 +41,8 @@
#
# --------------------------------------------------------------------
include ../config.mk
DIRS=am930 p80211 prism2 shared wlanctl wland nwepgen \
skeleton mkmeta
ALL_DIRS=mkmeta am930 p80211 prism2 shared wlanctl wland \
@ -61,6 +63,9 @@ clean:
install:
set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
ifndef CROSS_COMPILE
/sbin/depmod -a
endif
ctags:
ctags -R

View File

@ -78,7 +78,7 @@ nwepgen: nwepgen.o
$(CC) -o nwepgen nwepgen.o
install:
cp -p nwepgen $(TARGET_INST_EXEDIR)
cp nwepgen $(TARGET_INST_EXEDIR)
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ nwepgen

View File

@ -116,7 +116,7 @@ $(P80211_MODULE) : $(P80211_OBJ)
install : $(MODULES)
mkdir -p $(TARGET_MODDIR)/net
cp -p $(P80211_MODULE) $(TARGET_MODDIR)/net
cp $(P80211_MODULE) $(TARGET_MODDIR)/net
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags

View File

@ -82,7 +82,7 @@ prism2dl: $(OBJS)
$(CC) -g -o prism2dl $(OBJS)
install:
cp -p prism2dl $(TARGET_INST_EXEDIR)
cp prism2dl $(TARGET_INST_EXEDIR)
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags

View File

@ -131,7 +131,7 @@ $(AP_CS_MODULE) : $(AP_CS_OBJ)
chmod -x $@
install : $(MODULES)
cp -p $(MODULES) $(TARGET_MODDIR)/pcmcia
cp $(MODULES) $(TARGET_MODDIR)/pcmcia
ifeq ($(WLAN_INSTALL_TYPE), ap)
ln -sf $(MODDIR)/pcmcia/$(AP_CS_MODULE) $(TARGET_MODDIR)/pcmcia/prism2_cs.o
else

View File

@ -108,7 +108,7 @@ $(SKEL_MODULE) : $(SKEL_OBJ)
install : $(MODULES)
mkdir -p $(TARGET_MODDIR)/net
cp -p $(SKEL_MODULE) $(TARGET_MODDIR)/pcmcia
cp $(SKEL_MODULE) $(TARGET_MODDIR)/pcmcia
clean:
touch .depend

View File

@ -96,7 +96,7 @@ wlanctl: $(OBJS)
$(CC) -o wlanctl $(OBJS)
install:
cp -p wlanctl $(TARGET_INST_EXEDIR)/wlanctl-ng
cp wlanctl $(TARGET_INST_EXEDIR)/wlanctl-ng
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags

View File

@ -94,7 +94,7 @@ wland: $(OBJS)
$(CC) -o wland $(OBJS)
install:
cp -p wland $(TARGET_INST_EXEDIR)/wland
cp wland $(TARGET_INST_EXEDIR)/wland
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags