mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-04-28 11:04:01 +00:00
@@ -4,9 +4,14 @@ if WITH_VBOX
|
||||
initrd-local:
|
||||
bash ./make-initrd.sh vbox
|
||||
else
|
||||
if WITH_AARCH64
|
||||
initrd-local:
|
||||
bash ./make-initrd.sh aarch64
|
||||
else
|
||||
initrd-local:
|
||||
bash ./make-initrd.sh
|
||||
endif
|
||||
endif
|
||||
|
||||
cbfs-local:
|
||||
bash ./make-initrd.sh cbfs
|
||||
|
||||
BIN
build/kernel_aarch64
Executable file
BIN
build/kernel_aarch64
Executable file
Binary file not shown.
2240
build/kernel_config_aarch64
Normal file
2240
build/kernel_config_aarch64
Normal file
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,13 @@ cp ../src/init /tmp/hyperstart-rootfs
|
||||
cp busybox /tmp/hyperstart-rootfs
|
||||
cp iptables /tmp/hyperstart-rootfs
|
||||
cp libm.so.6 /tmp/hyperstart-rootfs/lib64/
|
||||
tar -xf modules.tar -C /tmp/hyperstart-rootfs/lib/modules
|
||||
|
||||
if [ "$1"x = "aarch64"x ]; then
|
||||
echo "build hyperstart for aarch64"
|
||||
tar -xf modules_aarch64.tar -C /tmp/hyperstart-rootfs/lib/modules
|
||||
else
|
||||
tar -xf modules.tar -C /tmp/hyperstart-rootfs/lib/modules
|
||||
fi
|
||||
|
||||
# create symlinks to busybox and iptables
|
||||
BUSYBOX_BINARIES=(/bin/sh /bin/tar /bin/hwclock /sbin/modprobe /sbin/depmod)
|
||||
|
||||
BIN
build/modules_aarch64.tar
Normal file
BIN
build/modules_aarch64.tar
Normal file
Binary file not shown.
12
configure.ac
12
configure.ac
@@ -38,6 +38,17 @@ if test "$fail" = "1" ; then
|
||||
AC_MSG_ERROR(Unable to find necessary functions)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH([aarch64],
|
||||
[AS_HELP_STRING([--with-aarch64],
|
||||
[run hyperstart with 64-bit ARM architecture])],
|
||||
[],[with_aarch64=no])
|
||||
|
||||
if test "x$with_aarch64" != "xno" ; then
|
||||
AC_DEFINE_UNQUOTED([WITH_AARCH64], 1, [run hyperstart with 64-bit ARM architecture])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([WITH_AARCH64], [test "x$with_aarch64" != "xno"])
|
||||
|
||||
AC_ARG_WITH([vbox],
|
||||
[AS_HELP_STRING([--with-vbox],
|
||||
[run hyperstart on Virtualbox])],
|
||||
@@ -61,6 +72,7 @@ AC_MSG_RESULT([
|
||||
prefix: ${prefix}
|
||||
|
||||
with-vbox: ${with_vbox}
|
||||
with-aarch64: ${with_aarch64}
|
||||
|
||||
compiler: ${CC}
|
||||
cflags: ${CFLAGS}
|
||||
|
||||
Reference in New Issue
Block a user