Currently the linux-fusion driver module is installed directly under 
$(KERNEL_MODLIB)/drivers/ . All other drivers are installed in 
$(KERNEL_MODLIB)/kernel/drivers/ . This patch changes this.

Also the depmod command now respects $(DESTDIR).

Greetings,

Mark Pustjens

--- linux-fusion/Makefile       2006-04-26 13:48:24.000000000 +0200
+++ linux-fusion-new/Makefile   2006-04-27 12:49:15.000000000 +0200
@@ -27,16 +27,16 @@
         install -d $(DESTDIR)/usr/include/linux
         install -m 644 linux/include/linux/fusion.h 
$(DESTDIR)/usr/include/linux

-       install -d $(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion
+       install -d $(DESTDIR)$(KERNEL_MODLIB)/kernel/drivers/char/fusion

  ifeq ($(KERNEL_PATCHLEVEL),4)
-       install -m 644 $(SUB)/fusion.o 
$(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion
+       install -m 644 $(SUB)/fusion.o 
$(DESTDIR)$(KERNEL_MODLIB)/kernel/drivers/char/fusion
         rm -f $(DESTDIR)$(KERNEL_MODLIB)/fusion.o
  else
-       install -m 644 $(SUB)/fusion.ko 
$(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion
+       install -m 644 $(SUB)/fusion.ko 
$(DESTDIR)$(KERNEL_MODLIB)/kernel/drivers/char/fusion
         rm -f $(DESTDIR)$(KERNEL_MODLIB)/fusion.ko
  endif
-       depmod -ae
+       /sbin/depmod -ae -b $(DESTDIR)/


  clean:


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to