From: Keir F. <Kei...@cl...> - 2004-10-23 12:22:31
|
> > > What a pain in the arse - another file to keep track of. We'd need to > > copy an appropriate .extraversion file into each of our build trees > > anyway. Might as well just have a command-line-overridable switch as I > > suggested, which defaults to somethign sane like "-xen". > > We can make the config_* target write .extraversion. I really > don't see how they'd be a problem keeping track of it, and I > think its better than having to remember to put stuff on the make > command line. > > If we go with your plan, we'd have to rename our -xen0 kernel to > -xen, otherwise we'd needlessly confuse people who are > reconfiguring their kernel. Hmmm, well we can easily support all options, in descending order of priority: 1. XENVERSION specified on command line 2. Contents of .extraversion file 3. Default to "-xen" I'll add this to the Linux Makefiles, but I'll leave the root Makefile using XENVERSION for now. You can change it to use .extraversion if you care. :-) -- Keir |