aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/development/toolchain/arm.pp
blob: 7cd10d25214735464ffbeff31245c07eb42685eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class nodo::utils::development::toolchain::arm(
  $ensure = present
) {
  apt::sources_list { 'emdebian.list':
    content => "deb http://www.emdebian.org/debian ${::lsbdistcodename} main",
    ensure  => $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'],
  }
}