pakfire: use correct tree on x86_64.
[ipfire-2.x.git] / src / patches / backports-3.18.1-1-ipfire-build.patch
CommitLineData
91e56a59
AF
1diff -Naur backports-3.18.1-1.org/Makefile backports-3.18.1-1/Makefile
2--- backports-3.18.1-1.org/Makefile 2014-12-21 22:37:13.000000000 +0100
3+++ backports-3.18.1-1/Makefile 2014-12-29 15:51:19.358111370 +0100
4@@ -8,9 +8,9 @@
5 SHELL := /bin/bash
6 BACKPORT_PWD := $(shell pwd)
7
8-KMODDIR ?= updates
9+KMODDIR ?= kernel
10 ifneq ($(origin KLIB), undefined)
11-KMODPATH_ARG := "INSTALL_MOD_PATH=$(KLIB)"
12+KMODPATH_ARG :=
13 else
14 KLIB := /lib/modules/$(shell uname -r)/
15 KMODPATH_ARG :=
16diff -Naur backports-3.18.1-1.org/Makefile.real backports-3.18.1-1/Makefile.real
17--- backports-3.18.1-1.org/Makefile.real 2014-12-21 22:37:13.000000000 +0100
18+++ backports-3.18.1-1/Makefile.real 2014-12-29 15:51:40.934780933 +0100
19@@ -92,11 +92,11 @@
20 @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_PWD) \
21 INSTALL_MOD_DIR=$(KMODDIR) $(KMODPATH_ARG) \
22 modules_install
23- @./scripts/blacklist.sh $(KLIB)/ $(KLIB)/$(KMODDIR)
24+# @./scripts/blacklist.sh $(KLIB)/ $(KLIB)/$(KMODDIR)
25 @./scripts/compress_modules.sh $(KLIB)/$(KMODDIR)
26- @./scripts/check_depmod.sh
27- @/sbin/depmod -a
28- @./scripts/update-initramfs.sh $(KLIB)
29+# @./scripts/check_depmod.sh
30+# @/sbin/depmod -a
31+# @./scripts/update-initramfs.sh $(KLIB)
32 @echo
33 @echo Your backported driver modules should be installed now.
34 @echo Reboot.