On Mon, 2012-04-02 at 12:40 +0100, Jon Medhurst (Tixy) wrote:
I guess I think the current split with board/base/{linaro|android} is about right. At least if the common bits have a permanent home in a git repo, then we have a single place to apply system wide changes and the git log can explain the history of configs change.
On third thoughts ;-) it seems a lot nicer if topics which introduce a feature can contain a fragment to enable that feature, rather than have to base all topics branches on top of a config topic branch just so they can patch the config.
I'll go with my first suggestion, having multiple files in directories seems cleaner and if people want to manage it as a single monolithic config they can just put one file in that directory.
So, to get the Android config for $BOARD we would have...
merge_config.sh configs/linaro/base/* configs/$BOARD/base/* \ configs/linaro/android/* configs/$BOARD/android/*
I believe that globbing will always sort alphanumeric ASCII based names in a consistent order, or would we need to prefix it with LC_COLLATE=C ?