summaryrefslogtreecommitdiff
path: root/recipes-kernel/backports/files/makefile.patch
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2017-08-08 16:22:41 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-10-03 14:34:34 +0200
commit0ca55eefbb60e66437252704a620a4ba779afbf1 (patch)
tree90a7e2ac9cb2cd9898c3acecfa328ec74a24f986 /recipes-kernel/backports/files/makefile.patch
parent3276295f87bd1e61fc1afe381a80e21fda66c78d (diff)
backports: toradex backports package
Introducing Backports. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-kernel/backports/files/makefile.patch')
-rw-r--r--recipes-kernel/backports/files/makefile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-kernel/backports/files/makefile.patch b/recipes-kernel/backports/files/makefile.patch
new file mode 100644
index 0000000..3045e84
--- /dev/null
+++ b/recipes-kernel/backports/files/makefile.patch
@@ -0,0 +1,16 @@
+--- a/Makefile.real
++++ b/Makefile.real
+@@ -90,11 +90,6 @@ modules: backport-include/backport/autoconf.h
+ install: modules
+ @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_DIR) \
+- INSTALL_MOD_DIR=$(KMODDIR) $(KMODPATH_ARG) \
++ INSTALL_MOD_DIR=$(KMODDIR) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) \
+ modules_install
+- @./scripts/blacklist.sh $(KLIB)/ $(KLIB)/$(KMODDIR)
+- @./scripts/compress_modules.sh $(KLIB)/$(KMODDIR)
+- @./scripts/check_depmod.sh
+- @/sbin/depmod -a
+- @./scripts/update-initramfs.sh $(KLIB)
+ @echo
+ @echo Your backported driver modules should be installed now.
+ @echo Reboot.