]> git.hungrycats.org Git - linux/commitdiff
Remove PCMCIA backwards compatibility rule.
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Wed, 8 May 2002 06:59:54 +0000 (01:59 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Wed, 8 May 2002 06:59:54 +0000 (01:59 -0500)
Old pcmcia-cs versions expect the pcmcia modules in
/lib/modules/`uname -r`/pcmcia, so we symlinked them for compatibility.
According to the comment, the generation of these links should have
been removed in 2.4, so it's definitely time for it to go now.

Makefile

index f539ff55e5d245fed3cd7b50d2e122b5daffbb08..9faeb8ee2c4f03acaa71ba7b72fa4e1eb8719873 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -378,18 +378,9 @@ else
 depmod_opts    := -b $(INSTALL_MOD_PATH) -r
 endif
 .PHONY: _modinst_post
-_modinst_post: _modinst_post_pcmcia
+_modinst_post:
        if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
 
-# Backwards compatibilty symlinks for people still using old versions
-# of pcmcia-cs with hard coded pathnames on insmod.  Remove
-# _modinst_post_pcmcia for kernel 2.4.1.
-.PHONY: _modinst_post_pcmcia
-_modinst_post_pcmcia:
-       cd $(MODLIB); \
-       mkdir -p pcmcia; \
-       find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
-
 .PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
 $(patsubst %, _modinst_%, $(SUBDIRS)) :
        $(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install