diff --git a/.gitignore b/.gitignore index 5fd80564..a40c2d00 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ _builds bsp/buildroot-dl/toolchain_pi-*.tar.bz2 +bsp/buildroot-dl/toolchain_sun8i*.tar.bz2 bsp/buildroot-dl/linux-*.tar.gz diff --git a/bsp/buildroot_external/patches/linux/sun8i/001awox-install-module.patch b/bsp/buildroot_external/patches/linux/sun8i/001awox-install-module.patch index 0b913235..6a12ea68 100644 --- a/bsp/buildroot_external/patches/linux/sun8i/001awox-install-module.patch +++ b/bsp/buildroot_external/patches/linux/sun8i/001awox-install-module.patch @@ -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