Monday, 17 December 2012
New muddle "quickstart"
The muddle documentation has now gained a "Quick start" section, at http://muddle.readthedocs.org/en/latest/quickstart.html. I've also added an introduction, which more-or-less matches the front page text on Google Code.
Friday, 14 December 2012
Change to behaviour of "$ muddle" in src/
I have just changed muddle so that the behaviour of a "bare" muddle
anywhere under src/ has changed.
Thursday, 26 July 2012
Wednesday, 20 June 2012
Cross-compiling Python for arm, with muddle
This week I needed to cross-compile Python. The "local" platform is an x86, and the target is an ARM. My specific purpose is to be able to use the KBUS Python bindings on the target platform, which means I also care about things like ctypes.
Unfortunately, Python is not terribly simple to cross-compile, partly because it relies on building itself twice. Luckily, someone else has already documented what to do - namely Paul Gibson at http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html. That blog post describes the problem, provides the necessary patches for several versions of Python, and then describes how to build it at the command line.
(At time of writing, it doesn't have a patch for Python 2.7.3, but 2.7.2 is recent enough for our purposes, and still available from http://www.python.org/download/releases/2.7.2)
So the issue becomes simply how to amend the procedure for a muddle environment.
Unfortunately, Python is not terribly simple to cross-compile, partly because it relies on building itself twice. Luckily, someone else has already documented what to do - namely Paul Gibson at http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html. That blog post describes the problem, provides the necessary patches for several versions of Python, and then describes how to build it at the command line.
(At time of writing, it doesn't have a patch for Python 2.7.3, but 2.7.2 is recent enough for our purposes, and still available from http://www.python.org/download/releases/2.7.2)
So the issue becomes simply how to amend the procedure for a muddle environment.
Tuesday, 15 May 2012
More muddle improvements
To wit:
- visdep (in the sandbox) now uses 'xdot' to display, not 'xdot.py'. This means that on apt-get based systems, sudo apt-get install xdot should suffice to install the dependencies needed for visdep to work.
- The output of CPIO file generation is tidied up and made easier to understand (although still terribly verbose), and the irritating (at least to me) warnings have been fixed (this was a bug in applying instructions, in fact).
- muddle status will now detect if a git checkout is behind the remote repository, without needing a git fetch, and also reports the checkouts that need attention at the end of its output. See muddle help status.
- A long-standing bug has been fixed in cleaning deployments - this makes packages depending on deployments (which Richard introduced a while ago) work that bit better.
Tuesday, 1 May 2012
muddle 2.4.1 - "just pulled"
Muddle 2.4.2 is now in the repository. It adds support for the _just_pulled command line argument, which allows you to do things like:
muddle pull _all
muddle rebuild _just_pulled
See the documentation at http://muddle.readthedocs.org/en/latest/cmdline.html#special-command-line-arguments for how it actually works.
(What, you may ask, was 2.4.1? Well, it was the version of upstream repository support which actually worked properly.)
muddle pull _all
muddle rebuild _just_pulled
See the documentation at http://muddle.readthedocs.org/en/latest/cmdline.html#special-command-line-arguments for how it actually works.
(What, you may ask, was 2.4.1? Well, it was the version of upstream repository support which actually worked properly.)
Wednesday, 14 March 2012
Subscribe to:
Posts (Atom)