summaryrefslogtreecommitdiff
path: root/packages/ixp425-eth/files/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ixp425-eth/files/makefile.patch')
-rw-r--r--packages/ixp425-eth/files/makefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/ixp425-eth/files/makefile.patch b/packages/ixp425-eth/files/makefile.patch
index e69de29bb2..2e47972995 100644
--- a/packages/ixp425-eth/files/makefile.patch
+++ b/packages/ixp425-eth/files/makefile.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- /dev/null
++++ ixp425-eth-1.1-r0/Makefile
+@@ -0,0 +1,10 @@
++ifneq ($(KERNELRELEASE),)
++obj-m := ixp425_eth.o
++
++else
++KDIR := /lib/modules/$(shell uname -r)/build
++PWD := $(shell pwd)
++
++default modules:
++ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
++endif