-
Notifications
You must be signed in to change notification settings - Fork 8
buildroot: Speed up build times #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
nathanchance
merged 13 commits into
ClangBuiltLinux:main
from
nathanchance:prebuilt-toolchains-ccache
Mar 15, 2021
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f67d18a
buildroot/rebuild.sh: Fix installed Buildroot check
nathanchance 4dcf5a0
buildroot: Add patches for fakeroot with glibc 2.33
nathanchance 6287d4c
buildroot/arm*.config: Use Bootlin's prebuilt toolchain
nathanchance 43f7461
buildroot/mips*.config: Use Bootlin's prebuilt toolchain
nathanchance 29f7dba
boot-qemu.sh: Specify POWER8 CPUs for ppc64 and ppc64le
nathanchance a9ee36e
buildroot/ppc*.config: Use Bootlin's prebuilt toolchain
nathanchance f8f73e1
buildroot/riscv.config: Use Bootlin's prebuilt toolchain
nathanchance 78f381b
buildroot/s390.config: Use newer toolchain components
nathanchance fbc051c
buildroot/x86.config: Use Bootlin's prebuilt toolchain
nathanchance 344ff00
boot-qemu.sh: Use Nehalem for non-KVM boot on x86_64
nathanchance b47f985
buildroot/x86_64.config: Use Bootlin's prebuilt toolchain
nathanchance 15b0cf7
buildroot: Optimize for size and do not build bash
nathanchance 471fc66
images: Rebuild
nathanchance File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_arm=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-reboot" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,10 @@ | ||
| BR2_aarch64=y | ||
| BR2_cortex_a57=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,10 @@ | ||
| BR2_aarch64_be=y | ||
| BR2_cortex_a57=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_mips=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| # BR2_MIPS_SOFT_FLOAT is not set | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_mipsel=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| # BR2_MIPS_SOFT_FLOAT is not set | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_powerpc=y | ||
| BR2_powerpc_440=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_powerpc_440fp=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_SYSTEM_BIN_SH_BASH=y | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-reboot" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_powerpc64=y | ||
| BR2_CCACHE=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_powerpc_power8=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_SYSTEM_BIN_SH_BASH=y | ||
| BR2_TARGET_GENERIC_GETTY_PORT="hvc0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_powerpc64le=y | ||
| BR2_CCACHE=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_powerpc_power8=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_SYSTEM_BIN_SH_BASH=y | ||
| BR2_TARGET_GENERIC_GETTY_PORT="hvc0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| BR2_riscv=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_RISCV_ABI_LP64=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,9 @@ | ||
| BR2_s390x=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_BINUTILS_VERSION_2_35_X=y | ||
| BR2_GCC_VERSION_10_X=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # glibc required for s390, as per Ulrich Weigand. | ||
| BR2_TOOLCHAIN_USES_GLIBC=y | ||
| BR2_TOOLCHAIN_BUILDROOT_GLIBC=y | ||
| BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,8 @@ | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_x86_i686=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| BR2_x86_64=y | ||
| BR2_OPTIMIZE_3=y | ||
| BR2_KERNEL_HEADERS_4_4=y | ||
| BR2_GCC_VERSION_8_X=y | ||
| BR2_x86_corei7=y | ||
| BR2_TOOLCHAIN_EXTERNAL=y | ||
| BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y | ||
| BR2_TARGET_GENERIC_ROOT_PASSWD="root" | ||
| BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" | ||
| BR2_ROOTFS_OVERLAY="../overlay-poweroff" | ||
| BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y | ||
| BR2_PACKAGE_BASH=y | ||
| BR2_TARGET_ROOTFS_CPIO=y | ||
| # BR2_TARGET_ROOTFS_TAR is not set |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What shell do we boot to with
-i? I assume we still have one, it's just whatever busybox has which I don't think is Bash?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use this with
-ia lot, so I'm just checking this doesn't break that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the shell is busybox ash.