From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] configs: add defconfig for TS-7680
Date: Fri, 11 Aug 2017 15:39:34 +0200 [thread overview]
Message-ID: <20170811153934.5efac50e@windsurf> (raw)
In-Reply-To: <20170810221411.4324-1-julien.grossholtz@savoirfairelinux.com>
Hello,
On Thu, 10 Aug 2017 18:14:11 -0400, Julien Grossholtz wrote:
> board/technologic/ts7680/genimage.cfg | 14 +
> ...LLVMLinux-use-static-inline-in-ARM-ftrace.patch | 52 +++
> ...ux-Change-extern-inline-to-static-inline-.patch | 59 ++++
> ...c-integrate-the-various-compiler-gcc-345-.patch | 367 +++++++++++++++++++++
What are the chances of getting these patches merged "upstream" by the
board vendor ? It's not really nice if we have to keep these patches
forever.
> diff --git a/board/technologic/ts7680/post-image.sh b/board/technologic/ts7680/post-image.sh
> new file mode 100755
> index 0000000..c3f5a4a
> --- /dev/null
> +++ b/board/technologic/ts7680/post-image.sh
> @@ -0,0 +1,17 @@
> +#!/bin/bash
> +#
> +# Copyright (C) 2017 Savoir-faire Linux, Inc.
> +# Post image generation script.
> +
> +BOARD_DIR="$(dirname $0)"
> +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
> +GENIMAGE_TMP=${BUILD_DIR}/.genimage_tmp
> +
> +rm -rf ${GENIMAGE_TMP}
> +
> +${HOST_DIR}/usr/bin/genimage \
> + --config ${GENIMAGE_CFG} \
> + --rootpath ${TARGET_DIR} \
> + --tmppath ${GENIMAGE_TMP} \
> + --inputpath $BINARIES_DIR \
> + --outputpath $BINARIES_DIR
This script is not needed, you can use support/scripts/genimage.sh
instead.
> diff --git a/configs/ts7680_defconfig b/configs/ts7680_defconfig
> new file mode 100644
> index 0000000..df4e8f3
> --- /dev/null
> +++ b/configs/ts7680_defconfig
> @@ -0,0 +1,20 @@
> +BR2_arm=y
> +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
Why do you select glibc, and leave Buildroot default ?
> +BR2_KERNEL_HEADERS_VERSION=y
> +BR2_DEFAULT_KERNEL_VERSION="3.14.28"
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y
> +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/technologic/ts7680/post-image.sh"
As said above, you can use support/scripts/genimage.sh instead.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-08-11 13:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 22:14 [Buildroot] [PATCH v2 1/1] configs: add defconfig for TS-7680 Julien Grossholtz
2017-08-11 13:39 ` Thomas Petazzoni [this message]
2017-08-11 20:09 ` Julien Grossholtz
2017-08-11 20:32 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170811153934.5efac50e@windsurf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox