summaryrefslogtreecommitdiff
path: root/packages/ixp425-eth/files/makefile.patch
blob: 2e479729951fbd6694c68ea2465215d097b9e7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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