Ajout architecture m68k
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 21 Feb 2013 15:30:54 +0000 (10:30 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 15 May 2014 02:18:42 +0000 (22:18 -0400)
config/m68k/sysinfos [new file with mode: 0644]
functions/main

diff --git a/config/m68k/sysinfos b/config/m68k/sysinfos
new file mode 100644 (file)
index 0000000..e02692f
--- /dev/null
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+# This file contains the informations specific to the target system onto which
+# HV-Linux will be installed.
+
+INST_TYPE="workstation"
+HVL_TARGET="m68k"
+MAKEJOBS=1
+
+# Destination path where to install new Linux-HV system. This is usually where
+# you have mounted your new LFS partition, but it can also be any directory.
+# This is relevant only for stage 0 and 1.
+LFS="/opt/toolchain/coldfire"
+LFS_PARTITION="/dev/sda7"
+BOOT_PARTITION="/dev/sda1"
+SWAP_PARTITION="/dev/sda2"
+
+# New user to create
+REGUSER="hugo"
+
+# Define this if you want the mail addressed to the root user automatically be
+# forwarded to someone else.
+MAIL_ADMIN="hugo"
+
+# Used for setting '-march=xxx' option in CFLAGS and CPPFLAGS
+MACHINE_ARCHITECTURE=""
+
+# General network settings
+INTERFACES="eth0"
+MACHINE_NAME="arm"
+DOMAIN="mongol.com"
+LAN_NETWORK_MASK="192.168.1.0/24" # Utilise par sane in stage3
+
+# Network interface card eth0 settings
+BOOTPROTO[0]="dhcp"
+
+# Samba support
+USE_SAMBA="no"
+
+KERNEL_CONFIG="arm/config-${KERNEL}"
index 0adc06d..0d24a51 100644 (file)
@@ -117,6 +117,12 @@ case "${HVL_TARGET}" in
         CLFS_TARGET="i686-unknown-linux-gnu"
         CLFS_ARCH=${HVL_TARGET}
        ;;
+    m68k*)
+       #CLFS_BUILDFLAGS="-mcpu=51jm"
+       CLFS_BUILDFLAGS=""
+        CLFS_TARGET="${HVL_TARGET}-unknown-linux-gnu"
+        CLFS_ARCH=${HVL_TARGET}
+       ;;
     *)
        echo "Unsupported target architecture: ${HVL_TARGET}"
        return ${EXIT_FAILURE}