mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ikconfig - resolve rebuild permissions
@ 2003-09-04 18:31 Stephen Hemminger
  2003-09-04 19:13 ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2003-09-04 18:31 UTC (permalink / raw)
  To: Linus Torvalds, Randy.Dunlap; +Cc: linux-kernel

If ikconfig is enabled then the following annoying permission
problem happens.
 $ make 
 $ su
 #  make install
 $ make

make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  CHK     include/linux/compile.h
  CC      kernel/configs.o
mv: overwrite `kernel/configs.o', overriding mode 0644? 

This patch fixes it by removing the configs.o file when
needed.

It applies against 2.6.0-test4 but is also needed even with the
ikconfig patch already in -mm5

diff -Nru a/kernel/Makefile b/kernel/Makefile
--- a/kernel/Makefile	Thu Sep  4 10:33:49 2003
+++ b/kernel/Makefile	Thu Sep  4 10:33:49 2003
@@ -36,5 +36,6 @@
 
 $(obj)/ikconfig.h: scripts/mkconfigs .config Makefile FORCE
 	$(call if_changed,ikconfig)
+	@rm -f $(obj)/configs.o
 
 $(obj)/configs.o: $(obj)/ikconfig.h


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

end of thread, other threads:[~2003-09-05  1:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 18:31 [PATCH] ikconfig - resolve rebuild permissions Stephen Hemminger
2003-09-04 19:13 ` Sam Ravnborg
2003-09-05  1:08   ` Randy.Dunlap
2003-09-05  1:22     ` Randy.Dunlap
2003-09-05  1:48   ` Randy.Dunlap

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

all inboxes | Powered by JetHome®