Skip to contentSkip to conversation

auto-bk-get

DISCUSSION Dan Aloni 3 participants 5 messages Jul 10, 2003 – Jul 14, 2003

lore
Share & tools
lore

Dan Aloni

author
#0 lore raw

For kernel developers which are BitKeeper users,

auto-bk-get is an on-demand 'bk get' libc wrapper tool.

It means that you don't need to run 'bk -r get' in order to build the kernel. Instead, you just run 'make config' or 'make bzImage', using auto-bk-get in a clean repository and auto-bk-get will only 'bk get' the files you need from the repository (one of my test cases showed only 2800 out of 14000 files were checked out).

It also supports building in an entirely different directory, taking the files from a repository somewhere else.

To download and compile auto-bk-get:

# bk clone http://auto-bk-get.bkbits.net/auto-bk-get
# cd auto-bk-get
# make

Read the README file.

Signature · 2 lines
Dan Aloni
[email protected]
#1 lore raw
Quoted 6 lines · Dan Aloni

For kernel developers which are BitKeeper users,

auto-bk-get is an on-demand 'bk get' libc wrapper tool.

It means that you don't need to run 'bk -r get' in order to build the kernel. Instead, you just run 'make config' or 'make bzImage', using auto-bk-get in a clean repository and auto-bk-get will only 'bk get' the files you need from the repository (one of my test cases showed only 2800 out of 14000 files were checked out).

No offense, but, it would probably be easier to fix the few remaining places where the makefile system does not automatically check out the files.

It works great for everything except the Kconfig stuff, IIRC.

Jeff

author
#2 lore raw
Quoted 12 lines · Jeff Garzik
Quoted 9 lines · Dan Aloni

For kernel developers which are BitKeeper users,

auto-bk-get is an on-demand 'bk get' libc wrapper tool.

It means that you don't need to run 'bk -r get' in order to build the kernel. Instead, you just run 'make config' or 'make bzImage', using auto-bk-get in a clean repository and auto-bk-get will only 'bk get' the files you need from the repository (one of my test cases showed only 2800 out of 14000 files were checked out).

Quoted 4 lines

No offense, but, it would probably be easier to fix the few remaining places where the makefile system does not automatically check out the files.

It works great for everything except the Kconfig stuff, IIRC.

It's not just that. Does make and the build system alone allow you to build in an entirely different tree? (i.e check out and recreate the directory structure somewhere else, leaving the repository clean or even on a read-only media).

Signature · 2 lines
Dan Aloni
[email protected]
#3 lore raw
Quoted 12 lines · Dan Aloni
Quoted 10 lines · Jeff Garzik
Quoted 6 lines · Dan Aloni

For kernel developers which are BitKeeper users,

auto-bk-get is an on-demand 'bk get' libc wrapper tool.

It means that you don't need to run 'bk -r get' in order to build the kernel. Instead, you just run 'make config' or 'make bzImage', using auto-bk-get in a clean repository and auto-bk-get will only 'bk get' the files you need from the repository (one of my test cases showed only 2800 out of 14000 files were checked out).

Quoted 8 lines
Quoted 3 lines

No offense, but, it would probably be easier to fix the few remaining places where the makefile system does not automatically check out the files.

It works great for everything except the Kconfig stuff, IIRC.

It's not just that. Does make and the build system alone allow you to build in an entirely different tree? (i.e check out and recreate the directory structure somewhere else, leaving the repository clean or
even on a read-only media).

Yes, that's Sam Ravnborg's (sp?) srcdir != objdir work.

Jeff

#4 lore raw
In reply to Jeff Garzik
Quoted 10 lines · Jeff Garzik
Quoted 3 lines · Dan Aloni

For kernel developers which are BitKeeper users,

auto-bk-get is an on-demand 'bk get' libc wrapper tool.

[snip]

No offense, but, it would probably be easier to fix the few remaining places where the makefile system does not automatically check out the files.

It works great for everything except the Kconfig stuff, IIRC.

I played about with this a long time ago at the beginning of 2.5, so was attempt to do this with the old build system which didn't had a few awkward bits, and then I was distracted by userspace stuff.

What I did I put here ( http://www.sandman.uklinux.net/odds/index.html ) it might be of use - though as I recall correctly most of the code was taken from patch(1). So it's nothing special.

TTFN

Signature · 4 lines
Roger. 	                        Home| http://www.sandman.uklinux.net/
Master of Peng Shui.      (Ancient oriental art of Penguin Arranging)
Work|Independent Systems Consultant | http://www.firstdatabase.co.uk/
So what are the eigenvalues and eigenvectors of 'The Matrix'? --anon