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