Messages in this thread | | | Date | Wed, 25 Feb 2004 20:00:49 +0100 | From | Sam Ravnborg <> | Subject | Re: make help ARCH=xx fun |
| |
> > Hmm. Would something (untested) like the following be horribly > wrong/bad? > > define archhelp > @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' > @if [ -d arch/$(ARCH)/configs/SCCS ]; then bk get -q arch/$(ARCH)/configs/;fi > # Assume board_defconfig > for board in arch/$(ARCH)/configs/*defconfig; \ > do \ > echo -n ' ' $$board | sed -e 's|arch/$(ARCH)/configs/||g' ; \ > echo -n ' - Build for ' ; \ > echo -e $$board | sed -e 's|.*_||g'; \ > done > endef
I do not want kbuild to be cluttered with bk specific stuff. Also the "- Build for xxxxx" is not good enough.
I will try to come up with a patch the uses a file named arch/$(ARCH)/configs/index.txt to actually display the help text. Gim'me a few hours.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |