summaryrefslogtreecommitdiffstats
path: root/stage1
diff options
context:
space:
mode:
authorJon Masters <jcm@redhat.com>2012-09-10 17:33:25 -0400
committerJon Masters <jcm@redhat.com>2012-09-10 17:33:25 -0400
commitedfd9153fba9044043124d0ab2f629920d653c66 (patch)
treef4072f9ddf02feb9ac2f3252d523ce0518056c4e /stage1
parentd0a4d1105af37b6ba54ed0047b337a686560f19d (diff)
downloadbootstrap.git.DONOTUSE-edfd9153fba9044043124d0ab2f629920d653c66.tar.gz
bootstrap.git.DONOTUSE-edfd9153fba9044043124d0ab2f629920d653c66.tar.xz
bootstrap.git.DONOTUSE-edfd9153fba9044043124d0ab2f629920d653c66.zip
aarch64: setup the basic bootstrap parameters
Signed-off-by: Jon Masters <jcm@redhat.com>
Diffstat (limited to 'stage1')
-rwxr-xr-xstage116
1 files changed, 7 insertions, 9 deletions
diff --git a/stage1 b/stage1
index 84a5938..93078e0 100755
--- a/stage1
+++ b/stage1
@@ -44,25 +44,23 @@ PREFIX=$TOP/install
KCONFIGDIR=$BUILDDIR/kernel/configs
KCONFIG=kernel-3.*-armv7hl-tegra.config
# used by kernel and glibc
-KARCH=arm
+KARCH=arm64
KIMAGE=uImage
NEED_XLOADER=yes
NEED_UBOOT=yes
# The cross-compiler target
-TARGET=armv7hl-redhat-linux-gnueabi
+TARGET=aarch64-redhat-linux-gnu
# the RPMBUILD target for prepping sources
-RPMTARGET=armv7hl-redhat-linux-gnu
+RPMTARGET=aarch64-redhat-linux-gnu
# this is where the new rootfs will be built
ROOTFS=$TOP/rootfs
-CONFIG_EXTRA="--with-cpu=cortex-a8
- --with-tune=cortex-a8
- --with-arch=armv7-a
- --with-float=hard
- --with-fpu=vfpv3-d16
- --with-abi=aapcs-linux
+CONFIG_EXTRA="--march=armv8-a
+ --mfpu=fp-armv8
+ --mfpu=neon-fp-armv8
+ --mfpu=crypto-neon-fp-armv8
"
if [ -f $MYDIR/local.conf ]