1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
class nodo::utils::development::toolchain::arm(
$ensure = present
) {
apt::sources_list { 'emdebian.list':
content => "deb http://www.emdebian.org/debian ${::lsbdistcodename} main",
ensure => $ensure,
}
# Provide some emdebian dependencies
#apt::sources_list { 'squeeze.list':
# content => "deb http://http.debian.net/debian/ squeeze main contrib non-free\ndeb http://security.debian.org/ squeeze/updates main contrib non-free",
# ensure => $::lsbdistcodename ? {
# 'squeeze' => absent,
# default => $ensure,
# },
#}
package { [ 'linux-libc-dev-armel-cross', 'libc6-armel-cross', 'libc6-dev-armel-cross',
'binutils-arm-linux-gnueabi', 'gcc-4.4-arm-linux-gnueabi', 'g++-4.4-arm-linux-gnueabi',
'gdb-arm-linux-gnueabi' ]:
ensure => $ensure,
require => Apt::Sources_list['emdebian.list'],
}
}
|