[CCC DEV] make question, packaging

Matt Jadud jadudm at gmail.com
Sun Jun 13 17:10:39 BST 2010


Hi all,

I'm not a make guru, nor have I done any packaging (other than some
explorations of the RPM packaging process for Fedora).

I would like to build one or more packages. I would like, ultimately,
to have "nice" packages. For OSCON, I'll settle for "ugly" packages
that just have binaries in them for the Arduino that work. At the
least, it would be nice to have a package with avr-occbuild,
avr-plinker.pl, avr-occ21, tvm-arduino.hex, and so on. Perhaps also my
little bash wrapper scripts (arduinocc, etc.). Enough so that someone
could start doing Arduino development under Linux.

However, should I first poke the make system with a stick?
Specifically, should I fix things so you can, at the top level, do
something like:

cd obj-dir
../configure --prefix=... --target=avr --with-wrapper=arduino
--with-toolchain=tvm
make
make install

and get a completely build/working/installable package for the
AVR/Arduino? Or, should I just write a bash script that does all the
steps necessary (checks out code, does the reconf, moving around the
tree, issuing the correct configure parameters, etc.)?

Cheers,
Matt




More information about the developers mailing list