mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* make mrproper depends on a .config file?
@ 2013-02-01 10:33 Jürgen Kilb
  2013-02-04  8:52 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Jürgen Kilb @ 2013-02-01 10:33 UTC (permalink / raw)
  To: barebox, Sascha Hauer

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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make mrproper depends on a .config file?
  2013-02-01 10:33 make mrproper depends on a .config file? Jürgen Kilb
@ 2013-02-04  8:52 ` Sascha Hauer
  2013-02-04 11:47   ` Alexander Aring
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2013-02-04  8:52 UTC (permalink / raw)
  To: Jürgen Kilb; +Cc: barebox

On Fri, Feb 01, 2013 at 11:33:29AM +0100, Jürgen Kilb wrote:
> 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


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make mrproper depends on a .config file?
  2013-02-04  8:52 ` Sascha Hauer
@ 2013-02-04 11:47   ` Alexander Aring
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Aring @ 2013-02-04 11:47 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox, Jürgen Kilb

On Mon, Feb 04, 2013 at 09:52:26AM +0100, Sascha Hauer wrote:
> On Fri, Feb 01, 2013 at 11:33:29AM +0100, Jürgen Kilb wrote:
> > 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
>

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

> 
> -- 
> 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
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-04 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-01 10:33 make mrproper depends on a .config file? Jürgen Kilb
2013-02-04  8:52 ` Sascha Hauer
2013-02-04 11:47   ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox