summaryrefslogtreecommitdiffstats
path: root/stage1
diff options
context:
space:
mode:
authorJon Masters <jcm@jonmasters.org>2012-10-04 03:21:08 -0400
committerJon Masters <jcm@jonmasters.org>2012-10-04 03:21:08 -0400
commitf6c5e7c6ad9478cc16e10208f009b6dd65c4fa31 (patch)
treefd80ed5355955398bdbd4004d5da2158e748f4a2 /stage1
parent7ab5a5b16590bc43c0b05d8c1275ecec9c465e97 (diff)
downloadbootstrap.git.DONOTUSE-f6c5e7c6ad9478cc16e10208f009b6dd65c4fa31.tar.gz
bootstrap.git.DONOTUSE-f6c5e7c6ad9478cc16e10208f009b6dd65c4fa31.tar.xz
bootstrap.git.DONOTUSE-f6c5e7c6ad9478cc16e10208f009b6dd65c4fa31.zip
aarch64: fix a few of the stage1 bits
Signed-off-by: Jon Masters <jcm@jonmasters.org>
Diffstat (limited to 'stage1')
-rwxr-xr-xstage114
1 files changed, 10 insertions, 4 deletions
diff --git a/stage1 b/stage1
index 3fc7e70..b0d5944 100755
--- a/stage1
+++ b/stage1
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -x
#
# This script is the first stage in bootstrapping a Fedora build to a
# new platform or architecture. Running with no arguments builds a
@@ -52,7 +52,8 @@ NEED_UBOOT=no
# The cross-compiler target
TARGET=aarch64-redhat-linux-gnu
# the RPMBUILD target for prepping sources
-RPMTARGET=aarch64-redhat-linux-gnu
+#RPMTARGET=aarch64-redhat-linux-gnu
+RPMTARGET=arm64-redhat-linux-gnu
# this is where the new rootfs will be built
ROOTFS=$TOP/rootfs
@@ -61,6 +62,9 @@ CONFIG_EXTRA="--with-arch=armv8
--with-fpu=neon-fp-armv8
"
+#CONFIG_EXTRA="--with-arch=armv8-a
+#"
+
if [ -f $MYDIR/local.conf ]
then
. $MYDIR/local.conf
@@ -319,6 +323,8 @@ case "$1" in
go binutils
go gcc-host
go glibc-headers
+# only run this far, for now
+ exit 0
go gcc-libgcc
go glibc
go gcc
@@ -371,8 +377,8 @@ case "$1" in
;;
"sync" )
- echo Copying built rootfs to panda-1...
- rsync -a $ROOTFS/ root@panda-1:/hardfp/
+# echo Copying built rootfs to panda-1...
+# rsync -a $ROOTFS/ root@panda-1:/hardfp/
;;
"test1" )