From: Hugo Villeneuve Date: Thu, 21 Feb 2013 15:30:54 +0000 (-0500) Subject: Ajout architecture m68k X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=67aeee506adc003a216ebb40366048e5aa063da8;p=hvlinux.git Ajout architecture m68k --- 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}