Skip to contentSkip to conversation

kbuild problem

DISCUSSION Randy Dunlap 2 participants 4 messages Nov 1, 2007

lore
Share & tools
lore
#0 lore raw

Hi Sam,

I have daily/nightly builds + test runs that use something like:
(but more complicated than this)

cp saved.config.file arch/$ARCH/config.default
EXPORT KBUILD_DEFCONFIG=config.default
make defconfig

This stopped working in 2.6.24-rc1-git3. git2 worked as (I) expected.

Is there anything in the Makefile changes around that time that could have caused this?

Note: the make defconfig output has changed from

Default configuration is based on config.default

to

*** Default configuration is based on 'x86_64_defconfig'

If not, I'll dig deeper into my script files.

Thanks,
---
~Randy

#1 lore raw
Quoted 8 lines · Randy Dunlap

Hi Sam,

I have daily/nightly builds + test runs that use something like:
(but more complicated than this)

cp saved.config.file arch/$ARCH/config.default
EXPORT KBUILD_DEFCONFIG=config.default
make defconfig

KBUILD_DEFCONFIG is supposed to point out a file located in arch/$(ARCH)/configs.
I assume you copy the file to that directory.

Browsing the changes to scripts/kconfig/Makefile nothing says 'this is the bug' but I suggest you to look there first of all.
I do not have -git2 and -git3 handy to do a diff between.

Sam

#2 lore raw
Quoted 6 lines · On Thu, 1 Nov 2007 06:21:45 +0100 Sam Ravnborg wrote:
Quoted 5 lines · Randy Dunlap

Hi Sam,

I have daily/nightly builds + test runs that use something like:
(but more complicated than this)

Quoted 7 lines
Quoted 3 lines

cp saved.config.file arch/$ARCH/config.default
EXPORT KBUILD_DEFCONFIG=config.default
make defconfig

KBUILD_DEFCONFIG is supposed to point out a file located in arch/$(ARCH)/configs.
I assume you copy the file to that directory.

Oops, yes, the command that I entered above was missing the /configs/ part, but it is there.

Quoted 4 lines

Browsing the changes to scripts/kconfig/Makefile nothing says 'this is the bug' but I suggest you to look there first of all.
I do not have -git2 and -git3 handy to do a diff between.

I think I found it -- in my scripts. :)
They still think that $ARCH is i386 or x86_64, not "x86". I'm testing a fix for that now.

Thanks,
---
~Randy

#3 lore raw
Quoted 4 lines

I think I found it -- in my scripts. :)
They still think that $ARCH is i386 or x86_64, not "x86". I'm testing a fix for that now.

Good - thanks for reporting back.

Sam