This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
[Patch]: Update configuration files to build for 68HC1X targets
- To: config-patches at gnu dot org, binutils at sourceware dot cygnus dot com
- Subject: [Patch]: Update configuration files to build for 68HC1X targets
- From: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Date: Wed, 28 Jun 2000 00:11:30 +0200
Hi!
The following patch adds configuration support for 68HC11 and 68HC12
targets. For these targets, it also sets the noconfigdirs shell
variable to avoid building the libiberty and other libraries:
they are either too big for 68HC11 or they do not really have
a sense (since there is no file system).
I'm sending the patch to both <config-patches> and <binutils>
as I'm confused by the process of submitting patches to these
two configuration files...
Can you integrate the patch?
Thanks,
Stephane
2000-06-27 Stephane Carrez <stcarrez@worldnet.fr>
* config.sub: Add Motorola 68hc11, 68hc12 targets.
* configure.in (noconfigdirs): Don't compile some
of the libraries for 68HC11 & 68hc12 targets.
diff -Nrup --exclude-from=binutils-exclude.lst /src/gnu/cygnus/binutils/config.sub binutils/config.sub
--- /src/gnu/cygnus/binutils/config.sub Sun Jun 25 11:37:25 2000
+++ binutils/config.sub Sun Jun 25 11:55:17 2000
@@ -223,7 +223,10 @@ case $basic_machine in
;;
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
;;
-
+ m6811|m68hc11|m6812|m68hc12) # Motorola 68HC11/68HC12
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.
diff -Nrup --exclude-from=binutils-exclude.lst /src/gnu/cygnus/binutils/configure.in binutils/configure.in
--- /src/gnu/cygnus/binutils/configure.in Sun Jun 25 11:37:27 2000
+++ binutils/configure.in Sun Jun 25 11:55:17 2000
@@ -643,6 +643,9 @@ case "${target}" in
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
+ m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
+ noconfigdirs="$noconfigdirs target-libiberty target-librx target-libg++ target-libstdc++ target-libio target-libf2c target-libchill target-zlib target-libobjc"
+ ;;
d10v-*-*)
noconfigdirs="$noconfigdirs target-librx target-libg++ target-libstdc++ target-libio"
;;