Merge branch 'feature/gcc_5.4' into feature/rpi4
This commit is contained in:
commit
1d2f0e6c50
45
rules/bash/default.bash
Normal file
45
rules/bash/default.bash
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
"4.4.18"
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"http://ftp.gnu.org/gnu/bash/bash-$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'518e2c187cc11a17040f0915dddce54e'
|
||||||
|
)
|
||||||
|
|
||||||
|
maintainer=\
|
||||||
|
(
|
||||||
|
'Pedro Gonçalves <pedro@fe.up.pt>'
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
./configure \
|
||||||
|
--prefix=${cfg_dir_rootfs}/usr \
|
||||||
|
--host=${cfg_target_canonical} \
|
||||||
|
--bindir=${cfg_dir_toolchain}/bin \
|
||||||
|
--without-bash-malloc
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make VERBOSE=1
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
$cmd_cp bash ${cfg_dir_rootfs}/usr/bin
|
||||||
|
$cmd_cp bashversion ${cfg_dir_rootfs}/usr/bin
|
||||||
|
}
|
@ -3,4 +3,4 @@ cfg_eth_ext_ip='10.0.10.63'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libconfig log4cpp fftw socat crypto++ netcat screen rlwrap'
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash'
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
cfg_hostname='lauv-nemo-1-aux'
|
cfg_hostname='lauv-nemo-1-aux'
|
||||||
cfg_eth_ext_ip='10.0.10.63'
|
cfg_eth_ext_ip='10.0.10.63'
|
||||||
cfg_packages="$cfg_packages boost"
|
cfg_packages="$cfg_packages boost bash"
|
||||||
|
@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.10.83'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap"
|
cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash"
|
||||||
|
|
||||||
|
@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.10.93'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap"
|
cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash"
|
||||||
|
|
||||||
|
@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.10.103'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap"
|
cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash"
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.103'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
cfg_packages="$cfg_packages boost jansson czmq zeromq"
|
cfg_packages="$cfg_packages bash boost jansson czmq zeromq"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
cfg_hostname='test-rpi'
|
cfg_hostname='test-rpi'
|
||||||
cfg_eth_ext_ip='10.0.200.52'
|
cfg_eth_ext_ip='10.0.200.52'
|
||||||
cfg_services1=''
|
cfg_services1=''
|
||||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi libconfig log4cpp crypto++'
|
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi libconfig log4cpp crypto++ bash'
|
||||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||||
cfg_modules="$cfg_modules ftdi_sio"
|
cfg_modules="$cfg_modules ftdi_sio"
|
||||||
cfg_terminal='ttyAMA0'
|
cfg_terminal='ttyAMA0'
|
||||||
|
Reference in New Issue
Block a user