From 67aeee506adc003a216ebb40366048e5aa063da8 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 21 Feb 2013 10:30:54 -0500 Subject: [PATCH] Ajout architecture m68k --- config/m68k/sysinfos | 40 ++++++++++++++++++++++++++++++++++++++++ functions/main | 6 ++++++ 2 files changed, 46 insertions(+) create mode 100644 config/m68k/sysinfos diff --git a/config/m68k/sysinfos b/config/m68k/sysinfos new file mode 100644 index 0000000..e02692f --- /dev/null +++ b/config/m68k/sysinfos @@ -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}" diff --git a/functions/main b/functions/main index 0adc06d..0d24a51 100644 --- a/functions/main +++ b/functions/main @@ -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} -- 2.20.1