aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ixp425-eth/files/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ixp425-eth/files/makefile.patch')
-rw-r--r--recipes/ixp425-eth/files/makefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/ixp425-eth/files/makefile.patch b/recipes/ixp425-eth/files/makefile.patch
new file mode 100644
index 0000000000..2e47972995
--- /dev/null
+++ b/recipes/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