From bc03d3ba8aa23018ca621dd8adcff26f9ec95af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Tue, 5 Mar 2019 00:00:00 +0000 Subject: [PATCH] gcc: update to 9046071dddb0a9ee7e30e5edf27cfc53b5b9c238 Initializes the submodule Unfortunately, Buildroot does not seem to use it: https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-custom-source-code-for-gcc-when-building-buildr so tracking it here just for fun for now. We don't clone on ./build by default, so it should not impact anyone. --- .gitmodules | 3 +++ build | 2 ++ buildroot_override | 8 +++++--- submodules/gcc | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) create mode 160000 submodules/gcc diff --git a/.gitmodules b/.gitmodules index 589a66f..56c90eb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -33,3 +33,6 @@ [submodule "submodules/xen"] path = submodules/xen url = git://xenbits.xen.org/xen.git +[submodule "submodules/gcc"] + path = submodules/gcc + url = git@github.com:cirosantilli/gcc.git diff --git a/build b/build index f33bc2c..18a9854 100755 --- a/build +++ b/build @@ -112,6 +112,8 @@ so looping over all of them would waste time. }, submodules_shallow = { 'binutils-gdb', + # https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-source-for-gcc-when-building-buildroot + # 'gcc', 'glibc', }, # https://buildroot.org/downloads/manual/manual.html#requirement diff --git a/buildroot_override b/buildroot_override index 411366f..0afd5e7 100644 --- a/buildroot_override +++ b/buildroot_override @@ -1,5 +1,7 @@ +BINUTILS_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb +# https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-source-for-gcc-when-building-buildroot +GCC_OVERRIDE_SRCDIR = ../../submodules/gcc +GDB_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb +GLIBC_OVERRIDE_SRCDIR = ../../submodules/glibc LINUX_OVERRIDE_SRCDIR = ../../submodules/linux QEMU_OVERRIDE_SRCDIR = ../../submodules/qemu -GLIBC_OVERRIDE_SRCDIR = ../../submodules/glibc -BINUTILS_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb -GDB_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb diff --git a/submodules/gcc b/submodules/gcc new file mode 160000 index 0000000..9046071 --- /dev/null +++ b/submodules/gcc @@ -0,0 +1 @@ +Subproject commit 9046071dddb0a9ee7e30e5edf27cfc53b5b9c238