Flat the kernel module.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
diff -urN a/Makefile b/Makefile
|
||||
--- a/Makefile 2016-11-18 23:06:38.000000000 +0100
|
||||
+++ b/Makefile 2016-12-06 12:38:53.134958521 +0100
|
||||
@@ -1116,20 +1116,20 @@
|
||||
--- a/Makefile 2016-11-16 12:37:21.000000000 +0100
|
||||
+++ b/Makefile 2016-11-22 11:58:52.000000000 +0100
|
||||
@@ -1114,20 +1114,20 @@
|
||||
|
||||
# Target to install modules
|
||||
PHONY += modules_install
|
||||
@@ -13,20 +13,20 @@ diff -urN a/Makefile b/Makefile
|
||||
- @rm -rf $(MODLIB)/kernel
|
||||
- @rm -f $(MODLIB)/source
|
||||
- @mkdir -p $(MODLIB)/kernel
|
||||
- @ln -s `cd $(srctree) && /bin/pwd` $(MODLIB)/source
|
||||
- @ln -s $(srctree) $(MODLIB)/source
|
||||
- @if [ ! $(objtree) -ef $(MODLIB)/build ]; then \
|
||||
- rm -f $(MODLIB)/build ; \
|
||||
- ln -s $(CURDIR) $(MODLIB)/build ; \
|
||||
- ln -s $(objtree) $(MODLIB)/build ; \
|
||||
- fi
|
||||
- @cp -f $(objtree)/modules.order $(MODLIB)/
|
||||
- @cp -f $(objtree)/modules.builtin $(MODLIB)/
|
||||
+ #@rm -rf $(MODLIB)/kernel
|
||||
+ #@rm -f $(MODLIB)/source
|
||||
+ #@mkdir -p $(MODLIB)/kernel
|
||||
+ #@ln -s `cd $(srctree) && /bin/pwd` $(MODLIB)/source
|
||||
+ #@ln -s $(srctree) $(MODLIB)/source
|
||||
+ #@if [ ! $(objtree) -ef $(MODLIB)/build ]; then \
|
||||
+ # rm -f $(MODLIB)/build ; \
|
||||
+ # ln -s $(CURDIR) $(MODLIB)/build ; \
|
||||
+ # ln -s $(objtree) $(MODLIB)/build ; \
|
||||
+ #fi
|
||||
+ #@cp -f $(objtree)/modules.order $(MODLIB)/
|
||||
+ #@cp -f $(objtree)/modules.builtin $(MODLIB)/
|
||||
@@ -34,9 +34,9 @@ diff -urN a/Makefile b/Makefile
|
||||
|
||||
# This depmod is only for convenience to give the initial
|
||||
diff -urN a/scripts/Makefile.modinst b/scripts/Makefile.modinst
|
||||
--- a/scripts/Makefile.modinst 2016-11-18 23:06:38.000000000 +0100
|
||||
+++ b/scripts/Makefile.modinst 2016-12-06 12:39:35.659162899 +0100
|
||||
@@ -27,9 +27,10 @@
|
||||
--- a/scripts/Makefile.modinst 2016-11-16 12:37:21.000000000 +0100
|
||||
+++ b/scripts/Makefile.modinst 2016-11-14 12:38:15.000000000 +0100
|
||||
@@ -21,9 +21,10 @@
|
||||
|
||||
# Modules built outside the kernel source tree go into extra by default
|
||||
INSTALL_MOD_DIR ?= extra
|
||||
|
||||
Reference in New Issue
Block a user