diff mbox series

[4/4] configs/snps_archs38_hsdk_defconfig: update for better out-of-box experience

Message ID 20210115200319.4139041-5-vgupta@synopsys.com
State New
Headers show
Series ARC updates | expand

Commit Message

Vineet Gupta Jan. 15, 2021, 8:03 p.m. UTC
- Enable C++ support
 - Don't strip executables
 - Add minimal debug symbols
 - Enable strace and openssh
 - Enable perf (and elfutils)

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 configs/snps_archs38_hsdk_defconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Yann E. MORIN Jan. 16, 2021, 3:40 p.m. UTC | #1
Vineet, All,

On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
>  - Enable C++ support
>  - Don't strip executables
>  - Add minimal debug symbols
>  - Enable strace and openssh
>  - Enable perf (and elfutils)

Of all those, I only kept adding C++.

None of the other defconfigs enable debug, or disable stripping.

Also, we like our defconfigs to truly be minimal. We could however
accept an additional defconfig with more packages, as a "demo" of sorts,
though. But the selection of packages you added is not kind of "demoing"
that specific board...

So, I just kept C++.

Thanks!

Regards,
Yann E. MORIN.

> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
>  configs/snps_archs38_hsdk_defconfig | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig
> index 69d0b1936b3a..7d406a90ed3c 100644
> --- a/configs/snps_archs38_hsdk_defconfig
> +++ b/configs/snps_archs38_hsdk_defconfig
> @@ -1,8 +1,12 @@
>  BR2_arcle=y
>  BR2_archs38_full=y
> +BR2_ENABLE_DEBUG=y
> +BR2_DEBUG_1=y
> +# BR2_STRIP_strip is not set
>  BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
>  BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
>  BR2_PACKAGE_GLIBC_UTILS=y
> +BR2_TOOLCHAIN_BUILDROOT_CXX=y
>  BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all"
>  BR2_TARGET_GENERIC_HOSTNAME="hsdk"
>  BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform"
> @@ -14,8 +18,15 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
>  BR2_LINUX_KERNEL_DEFCONFIG="hsdk"
>  BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment"
> +BR2_PACKAGE_LINUX_TOOLS_PERF=y
> +BR2_PACKAGE_STRACE=y
> +BR2_PACKAGE_MAKE=y
> +BR2_PACKAGE_ELFUTILS=y
> +BR2_PACKAGE_ELFUTILS_PROGS=y
> +BR2_PACKAGE_OPENSSH=y
>  BR2_TARGET_ROOTFS_EXT2=y
>  BR2_TARGET_ROOTFS_EXT2_4=y
> +BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
>  # BR2_TARGET_ROOTFS_TAR is not set
>  BR2_TARGET_UBOOT=y
>  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig
index 69d0b1936b3a..7d406a90ed3c 100644
--- a/configs/snps_archs38_hsdk_defconfig
+++ b/configs/snps_archs38_hsdk_defconfig
@@ -1,8 +1,12 @@ 
 BR2_arcle=y
 BR2_archs38_full=y
+BR2_ENABLE_DEBUG=y
+BR2_DEBUG_1=y
+# BR2_STRIP_strip is not set
 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
 BR2_PACKAGE_GLIBC_UTILS=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
 BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all"
 BR2_TARGET_GENERIC_HOSTNAME="hsdk"
 BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform"
@@ -14,8 +18,15 @@  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
 BR2_LINUX_KERNEL_DEFCONFIG="hsdk"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment"
+BR2_PACKAGE_LINUX_TOOLS_PERF=y
+BR2_PACKAGE_STRACE=y
+BR2_PACKAGE_MAKE=y
+BR2_PACKAGE_ELFUTILS=y
+BR2_PACKAGE_ELFUTILS_PROGS=y
+BR2_PACKAGE_OPENSSH=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y