Skip to contentSkip to conversation

make mrproper depends on a .config file?

DISCUSSION Jürgen Kilb 3 participants 3 messages Feb 1, 2013 – Feb 4, 2013

lore
Share & tools
lore
#0 lore raw

Hi Sascha,
why does a "make mrproper" depends on a .config file?

It looks like commit 789fad984a11f63ad0728cd6eabad97b185dceea is responsible...

If there is a valid .config file, the problem doesn't pop up.

====
barebox-2013.01.0$ make ARCH=arm CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.0/arm-cortexa9-linux-gnueabi/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa9-linux-gnueabi- mrproper make -f scripts/Makefile.clean obj=arch/arm/pbl

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig").
***
make[3]: *** [silentoldconfig] Fehler 1
make[2]: *** [silentoldconfig] Fehler 2
CLEAN scripts/basic
CLEAN scripts/kconfig
barebox-2013.01.0$
===

greetings,
Jürgen

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw
Quoted 5 lines · Jürgen Kilb

Hi Sascha,
why does a "make mrproper" depends on a .config file?

It looks like commit 789fad984a11f63ad0728cd6eabad97b185dceea is responsible...

Seems so, yes. I currently have no idea how to fix this. Reverting this commit is no solution. I tried to compare it with what the kernel does, but I have no clue what the problem is.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 4 lines · Sascha Hauer
Quoted 3 lines · Jürgen Kilb

Hi Sascha,
why does a "make mrproper" depends on a .config file?

Quoted 9 lines
Quoted 2 lines

It looks like commit 789fad984a11f63ad0728cd6eabad97b185dceea is responsible...

Seems so, yes. I currently have no idea how to fix this. Reverting this commit is no solution. I tried to compare it with what the kernel does, but I have no clue what the problem is.

Sascha

I tried to figure out that with KBUILD_VERBOSE=1. It seems that "make mrproper" will call:

"make -f $(PATH_TO_BAREBOX)/Makefile silentoldconfig"

at beginning of mrproper. I don't know why.

Regards Alex

Quoted 11 lines
Signature · 10 lines
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox