2
0

051-remove_pcmcia_modinst_compat.patch 900 B

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