From: Hugo Villeneuve Date: Wed, 5 Jun 2013 19:01:34 +0000 (-0400) Subject: Add new architecture armhf X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=390720a67447800ead65b5c501d9a323d3c2b6a1;p=hvlinux.git Add new architecture armhf --- diff --git a/config/armhf/sysinfos b/config/armhf/sysinfos new file mode 100644 index 0000000..eb97443 --- /dev/null +++ b/config/armhf/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="armhf" +MAKEJOBS=4 + +# 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/hvlinux-${HVL_TARGET}" +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/targets/armhf b/targets/armhf new file mode 100644 index 0000000..9146aed --- /dev/null +++ b/targets/armhf @@ -0,0 +1,9 @@ +#!/bin/bash + +# -mfloat-abi: +# hard: hardware FPU with hardware linkage +# softfp: hardware FPU with software linkage +# soft: no hardware FPU +CLFS_BUILDFLAGS="-mfpu=neon -mfloat-abi=softfp" +CLFS_ARCH=arm +CLFS_ABI="gnueabihf"