Add new architecture armhf
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 5 Jun 2013 19:01:34 +0000 (15:01 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:19 +0000 (23:44 -0500)
config/armhf/sysinfos [new file with mode: 0644]
targets/armhf [new file with mode: 0644]

diff --git a/config/armhf/sysinfos b/config/armhf/sysinfos
new file mode 100644 (file)
index 0000000..eb97443
--- /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="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 (file)
index 0000000..9146aed
--- /dev/null
@@ -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"