Skip to content

Instantly share code, notes, and snippets.

@bradfa
Last active October 12, 2015 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradfa/7b7343960e5ff01506fc to your computer and use it in GitHub Desktop.
Save bradfa/7b7343960e5ff01506fc to your computer and use it in GitHub Desktop.
Building a debian package of gcc-arm-none-eabi

Grab both the "orig" tarball and one of the matching "debian" tarballs from http://ppa.launchpad.net/terry.guo/gcc-arm-embedded/ubuntu/pool/main/g/gcc-arm-none-eabi/

I've used the "precise" one, as that's reasonably old and should work on Debian.

Untar the orig tarball, cd into the resulting directory, then untar the "debian" tarball. This will result in a nice debian/ directory. You can change the changelog if you want with dch.

Then just build it dpkg-buildpackage -uc -us -sa

When the build is complete, you'll find your nice debian package one level up, just like usual. Successfully built the 4.9.3-2015q3 release using the "precise" debian tarball for Wheezy amd64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment