From: Mischa Jonker <Mischa.Jonker@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 11/11] kernel-headers: Add support for ARC kernel headers
Date: Thu, 2 May 2013 15:00:50 +0200 [thread overview]
Message-ID: <1367499650-29869-12-git-send-email-mjonker@synopsys.com> (raw)
In-Reply-To: <1367499650-29869-1-git-send-email-mjonker@synopsys.com>
Also make sure that older kernels are not selected for ARC.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
---
Makefile | 1 +
| 14 +++++++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 97804ff..ce7530f 100644
--- a/Makefile
+++ b/Makefile
@@ -238,6 +238,7 @@ ARCH:=$(call qstrip,$(BR2_ARCH))
KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
-e s/i.86/i386/ -e s/sun4u/sparc64/ \
+ -e s/arc.*/arc/ \
-e s/arm.*/arm/ -e s/sa110/arm/ \
-e s/aarch64/arm64/ \
-e s/bfin/blackfin/ \
--git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in
index 12c53d8..aff69d9 100644
--- a/toolchain/kernel-headers/Config.in
+++ b/toolchain/kernel-headers/Config.in
@@ -17,35 +17,39 @@ choice
config BR2_KERNEL_HEADERS_3_0
bool "Linux 3.0.x kernel headers"
+ depends on !BR2_arc
config BR2_KERNEL_HEADERS_3_1
bool "Linux 3.1.x kernel headers"
- depends on BR2_DEPRECATED
+ depends on BR2_DEPRECATED && !BR2_arc
config BR2_KERNEL_HEADERS_3_2
bool "Linux 3.2.x kernel headers"
+ depends on !BR2_arc
config BR2_KERNEL_HEADERS_3_3
bool "Linux 3.3.x kernel headers"
- depends on BR2_DEPRECATED
+ depends on BR2_DEPRECATED && !BR2_arc
config BR2_KERNEL_HEADERS_3_4
bool "Linux 3.4.x kernel headers"
+ depends on !BR2_arc
config BR2_KERNEL_HEADERS_3_5
bool "Linux 3.5.x kernel headers"
- depends on BR2_DEPRECATED
+ depends on BR2_DEPRECATED && !BR2_arc
config BR2_KERNEL_HEADERS_3_6
bool "Linux 3.6.x kernel headers"
- depends on BR2_DEPRECATED
+ depends on BR2_DEPRECATED && !BR2_arc
config BR2_KERNEL_HEADERS_3_7
bool "Linux 3.7.x kernel headers"
- depends on BR2_DEPRECATED
+ depends on BR2_DEPRECATED && !BR2_arc
config BR2_KERNEL_HEADERS_3_8
bool "Linux 3.8.x kernel headers"
+ depends on !BR2_arc
config BR2_KERNEL_HEADERS_3_9
bool "Linux 3.9.x kernel headers"
--
1.7.0.4
next prev parent reply other threads:[~2013-05-02 13:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 13:00 [Buildroot] [PATCH v3 00/11] ARC port Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 01/11] arc: Add ARC and ARC BE architecture Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 02/11] arc: Add option for ARC-specific download site Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 03/11] arc: Add support for ARC-specific binutils Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 04/11] arc: disable Crosstool-NG for ARC Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 05/11] arc: add gcc " Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 06/11] arc: Add support for ARC-specific uClibc Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 07/11] arc: Make sure that libgcc doesn't get included when it doesn't exist yet Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 08/11] toolchain/gcc: Only enable --with-float when it makes sense Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 09/11] toolchain/toolchain-buildroot: Disable NPTL for ARC Mischa Jonker
2013-05-02 13:00 ` [Buildroot] [PATCH v3 10/11] arc: Add arc, arcbe to gnuconfig Mischa Jonker
2013-05-02 13:00 ` Mischa Jonker [this message]
2013-05-02 15:24 ` [Buildroot] [PATCH v3 00/11] ARC port Thomas Petazzoni
2013-05-02 15:30 ` Mischa Jonker
2013-05-02 16:29 ` 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=1367499650-29869-12-git-send-email-mjonker@synopsys.com \
--to=mischa.jonker@synopsys.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