aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/development/toolchain/arm.pp
blob: 4ce74ee23ea57d8ee11c2dfbd037954d290a830d (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'],
  }
}