[brcm-2.4] update kernel to version 2.4.37.9 and refresh patches
[openwrt-10.03/.git] / target / linux / generic-2.4 / patches / 051-remove_pcmcia_modinst_compat.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -435,18 +435,9 @@ else
4  depmod_opts    := -b $(INSTALL_MOD_PATH) -r
5  endif
6  .PHONY: _modinst_post
7 -_modinst_post: _modinst_post_pcmcia
8 +_modinst_post:
9         if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
10  
11 -# Backwards compatibilty symlinks for people still using old versions
12 -# of pcmcia-cs with hard coded pathnames on insmod.  Remove
13 -# _modinst_post_pcmcia for kernel 2.4.1.
14 -.PHONY: _modinst_post_pcmcia
15 -_modinst_post_pcmcia:
16 -       cd $(MODLIB); \
17 -       mkdir -p pcmcia; \
18 -       find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
19 -
20  .PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
21  $(patsubst %, _modinst_%, $(SUBDIRS)) :
22         $(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install