Re: Check handling of kernel build output directory

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Markus Elfring
Date: Friday, October 26, 2007 - 11:40 am

> Aren't you supposed to use O= as described by "make help"?

I expect that both ways should work. I find it easier to use the environment variable
"KBUILD_OUTPUT" because the command line parameter does not need to be repeated on each
make invocation.

Anyway - How do you think about my following test result?

Sonne:/usr/src/linux # MY_OUTDIR=/usr/src/obj/linux/2.6.23.1/x86_64/adjusted && rm -rf
$MY_OUTDIR/*
Sonne:/usr/src/linux # unset KBUILD_OUTPUT && make mrproper
  CLEAN   .config
Sonne:/usr/src/linux # cp -p /boot/config-2.6.23.1-0-adjusted .config
Sonne:/usr/src/linux # make O=$MY_OUTDIR oldconfig && date && echo
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX && make -j3 O=$MY_OUTDIR && echo
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY && make -j3 O=$MY_OUTDIR modules_install install
&& echo ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ && date
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  GEN     /usr/src/obj/linux/2.6.23.1/x86_64/adjusted/Makefile
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86_64/Kconfig
*
* Linux Kernel Configuration
*
[...]
#
# configuration written to .config
#
Fri Oct 26 20:30:39 CEST 2007
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  GEN     /usr/src/obj/linux/2.6.23.1/x86_64/adjusted/Makefile
scripts/kconfig/conf -s arch/x86_64/Kconfig
  GEN     /usr/src/obj/linux/2.6.23.1/x86_64/adjusted/Makefile
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86_64
  Using /usr/src/linux-2.6.23.1 as source for kernel
  /usr/src/linux-2.6.23.1 is not clean, please run 'make mrproper'
  in the '/usr/src/linux-2.6.23.1' directory.
make[1]: *** [prepare3] Error 1
make: *** [_all] Error 2
make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!

How does any internal status information get inconsistent here?

Regards,
Markus

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 10:31 am)
Re: Check handling of kernel build output directory, Vegard Nossum, (Fri Oct 26, 10:36 am)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 11:40 am)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Fri Oct 26, 12:05 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 12:05 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 12:25 pm)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Fri Oct 26, 12:47 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 10:07 pm)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Sat Oct 27, 12:23 am)
Re: Check handling of kernel build output directory, Jan Engelhardt, (Sat Oct 27, 4:32 am)
Re: Check handling of kernel build output directory, Jan Engelhardt, (Sat Oct 27, 4:33 am)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Sat Oct 27, 5:21 am)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 5:30 am)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 5:41 am)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 9:00 am)