[PATCH 0/2] Git head stamping on build

Andy Green andy at openmoko.com
Wed Aug 6 22:10:35 CEST 2008

First up packaging does not use my build script AFAIK so this
doesn't force any issues.

The main patch already went out earlier but this version has
the fix mentioned in that thread.

The additional patch keeps the last built kernel that was what
I am calling "moremodules", ie, was made with a .config that
is less reliant on modules, and copied the image file so it has
the branch and git head hash as part of the filename, eg,


It deletes any other uImage-moredrivers* before this so only
the most recent is hanging around.

Builds made with defconfig-2.6.24 for example are "moremodules"
and contain stuff like sound and USB over Ethernet in them.


Andy Green (2):

 Makefile |    2 +-
 build    |   20 ++++++++++++++++++--
 2 files changed, 19 insertions(+), 3 deletions(-)


More information about the openmoko-kernel mailing list