OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dfb-linux-fusion/kernel-version.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- linux-fusion-3.0/Makefile.orig 2006-04-30 13:33:39.000000000 +0200
  18. +++ linux-fusion-3.0/Makefile 2006-05-03 09:19:50.000000000 +0200
  19. @@ -1,7 +1,8 @@
  20. -KERNEL_MODLIB = /lib/modules/$(shell uname -r)
  21. +LINUXVERSION ?= $(shell uname -r)
  22. +KERNEL_MODLIB = /lib/modules/$(LINUXVERSION)
  23. KERNEL_BUILD = $(KERNEL_MODLIB)/build
  24. KERNEL_SOURCE = $(KERNEL_MODLIB)/source
  25. -KERNEL_PATCHLEVEL = $(shell uname -r | cut -d . -f 2)
  26. +KERNEL_PATCHLEVEL = $(shell echo $(LINUXVERSION) | cut -d . -f 2)
  27. #KERNEL_PATCHLEVEL = $(shell grep 'PATCHLEVEL =' $(KERNEL_BUILD)/Makefile | cut -d ' ' -f 3)
  28. SUB = linux/drivers/char/fusion
  29. @@ -24,9 +25,6 @@
  30. SUBDIRS=`pwd`/$(SUB) modules
  31. -install: all
  32. - install -d $(DESTDIR)/usr/include/linux
  33. - install -m 644 linux/include/linux/fusion.h $(DESTDIR)/usr/include/linux
  34. -
  35. +install:
  36. install -d $(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion
  37. ifeq ($(KERNEL_PATCHLEVEL),4)
  38. @@ -36,11 +34,6 @@
  39. install -m 644 $(SUB)/fusion.ko $(DESTDIR)$(KERNEL_MODLIB)/drivers/char/fusion
  40. rm -f $(DESTDIR)$(KERNEL_MODLIB)/fusion.ko
  41. endif
  42. -ifneq ($(strip $(DESTDIR)),)
  43. - /sbin/depmod -ae -b $(DESTDIR)
  44. -else
  45. - /sbin/depmod -ae
  46. -endif