mirror of https://github.com/parazyd/arm-sdk.git
even more
This commit is contained in:
parent
5bf8a3a10c
commit
bfca4da27f
|
|
@ -36,7 +36,7 @@ base_packages=(bzip2 dialog apt-utils fakeroot e2fsprogs parted)
|
||||||
|
|
||||||
system_packages=(sysvinit ssh)
|
system_packages=(sysvinit ssh)
|
||||||
|
|
||||||
writebase="$strapdir"
|
writebase=${strapdir}
|
||||||
command -v dcfldd >/dev/null && DD=`command -v dcfldd`
|
command -v dcfldd >/dev/null && DD=`command -v dcfldd`
|
||||||
DD=${DD:-/bin/dd}
|
DD=${DD:-/bin/dd}
|
||||||
# -- end settings --
|
# -- end settings --
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,9 @@ parted_root=(ext4 264192s 100%)
|
||||||
inittab="T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100"
|
inittab="T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100"
|
||||||
custmodules=(sunxi_emac)
|
custmodules=(sunxi_emac)
|
||||||
# source common commands
|
# source common commands
|
||||||
source $common
|
|
||||||
workdir="$R/arm/${device_name}-build"
|
workdir="$R/arm/${device_name}-build"
|
||||||
strapdir="${workdir}/${os}-${arch}"
|
strapdir="${workdir}/${os}-${arch}"
|
||||||
|
source $common
|
||||||
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
||||||
# -- end settings --
|
# -- end settings --
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,9 +36,9 @@ gpt=1
|
||||||
#inittab="T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100"
|
#inittab="T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100"
|
||||||
custmodules=()
|
custmodules=()
|
||||||
# source common commands
|
# source common commands
|
||||||
source $common
|
|
||||||
workdir="$R/arm/${device_name}-build"
|
workdir="$R/arm/${device_name}-build"
|
||||||
strapdir="${workdir}/${os}-${arch}"
|
strapdir="${workdir}/${os}-${arch}"
|
||||||
|
source $common
|
||||||
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
||||||
# -- end settings --
|
# -- end settings --
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,9 @@ parted_root=(ext4 264192s 100%)
|
||||||
inittab="T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100"
|
inittab="T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100"
|
||||||
custmodules=(sunxi_emac)
|
custmodules=(sunxi_emac)
|
||||||
# source common commands
|
# source common commands
|
||||||
source $common
|
|
||||||
workdir="$R/arm/${device_name}-build"
|
workdir="$R/arm/${device_name}-build"
|
||||||
strapdir="${workdir}/${os}-${arch}"
|
strapdir="${workdir}/${os}-${arch}"
|
||||||
|
source $common
|
||||||
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
||||||
# -- end settings --
|
# -- end settings --
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,9 @@ parted_root=(ext4 64 -1)
|
||||||
inittab="T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100"
|
inittab="T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100"
|
||||||
custmodules=()
|
custmodules=()
|
||||||
# source common commands
|
# source common commands
|
||||||
source $common
|
|
||||||
workdir="$R/arm/${armdev}-build"
|
workdir="$R/arm/${armdev}-build"
|
||||||
strapdir="${workdir}/${os}-${arch}"
|
strapdir="${workdir}/${os}-${arch}"
|
||||||
|
source $common
|
||||||
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
image_name="${os}-${release}-${version}-${arch}-${device_name}"
|
||||||
# -- end settings --
|
# -- end settings --
|
||||||
|
|
||||||
|
|
|
||||||
2
sdk
2
sdk
|
|
@ -41,7 +41,7 @@ vars+=(R sdk_loaded)
|
||||||
# script variables
|
# script variables
|
||||||
vars+=(workdir strapdir writebase)
|
vars+=(workdir strapdir writebase)
|
||||||
vars+=(loopdevice mappdevice)
|
vars+=(loopdevice mappdevice)
|
||||||
vars+=(arm_build_device)
|
vars+=(arm_build_device armdev)
|
||||||
# script locals
|
# script locals
|
||||||
vars+=(device_name image_name arch size)
|
vars+=(device_name image_name arch size)
|
||||||
vars+=(inittab)
|
vars+=(inittab)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue