[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850732: linux: please support building linux-libc-dev for the sh3 architecture



Source: linux
Version: 4.9.1-1~exp1
Severity: wishlist
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi!

Similar to [1], I would like to ask to add basic support for sh3
in the Linux kernel package so that we can start bootstrapping this
architecture in rebootstrap.

The motivation is that sh3 is expected to be support by the J-Core
open source CPU in the near future [2] which is fully compatible
with the existing SuperH SH-3 architecture which has already
partial support in Debian due to previous efforts before the SuperH
port in Debian switched over to sh4 [3].

Attaching a patch against the linux source package in experimental.

Thanks,
Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824524
> [2] http://j-core.org/roadmap.html
> [3] https://wiki.debian.org/SH4/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>From d90c9db36b8e7660e75a0b3385836664299b9bdf Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Mon, 9 Jan 2017 19:46:12 +0100
Subject: [PATCH] [sh3] Build a linux-libc-dev package (Closes: #-1)

---
 debian/changelog          | 4 ++++
 debian/config/defines     | 1 +
 debian/config/sh3/defines | 4 ++++
 3 files changed, 9 insertions(+)
 create mode 100644 debian/config/sh3/defines

diff --git a/debian/changelog b/debian/changelog
index 51f7dbb..3a9dc3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,15 @@
 linux (4.9.1-1~exp2) UNRELEASED; urgency=medium
 
+  [ Ben Hutchings ]
   * abiupdate.py: Use current config instead of downloading previous config
   * abiupdate.py: Update base URLs
   * abiupdate.py: Add support for incoming.ports.debian.org
   * Make the pickled config (config.defines.dump) reproducible
   * Remove debug symbol packages from debian/control to work around dak bug
 
+  [ John Paul Adrian Glaubitz ]
+  * [sh3] Build a linux-libc-dev package (Closes: #-1)
+
  -- Ben Hutchings <ben@decadent.org.uk>  Sat, 07 Jan 2017 17:41:34 +0000
 
 linux (4.9.1-1~exp1) experimental; urgency=medium
diff --git a/debian/config/defines b/debian/config/defines
index da2967d..c304fd5 100644
--- a/debian/config/defines
+++ b/debian/config/defines
@@ -31,6 +31,7 @@ arches:
  ppc64el
  s390
  s390x
+ sh3
  sh4
  sparc
  sparc64
diff --git a/debian/config/sh3/defines b/debian/config/sh3/defines
new file mode 100644
index 0000000..71cbe64
--- /dev/null
+++ b/debian/config/sh3/defines
@@ -0,0 +1,4 @@
+[base]
+kernel-arch: sh
+featuresets:
+# empty; just building headers yet
-- 
2.1.4


Reply to: