Skip to contentSkip to conversation

No forced rebuilding of ikconfig.h

PATCH In review Smurf 4 participants 4 messages Sep 29, 2003 – Oct 1, 2003

lore
Share & tools
lore

Smurf

author
#0 lore raw

PATCH 1/1 No forced rebuilding of ikconfig.h

Why does ikconfig.h require forced rebuilding?
I can't think of a reason...

kernel/Makefile +2 -1
diff -xCVS -ru linux-2.5-m68k-cvs-orig/kernel/Makefile linux-2.5-m68k-cvs/kernel/Makefile
@@ -44,7 +44,8 @@
       cmd_ikconfig = $(CONFIG_SHELL) $< .config $(srctree)/Makefile > $@
 
 targets += ikconfig.h
-$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile FORCE
+
+$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile
 	$(call if_changed,ikconfig)
 
 # config_data.h contains the same information as ikconfig.h but gzipped.
Signature · 4 lines
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [email protected]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
History is made at night. Character is what you are in the dark.
#1 lore raw

On Mon, 29 Sep 2003 17:38:15 +0200 Smurf <[email protected]> wrote:

| Why does ikconfig.h require forced rebuilding?
| I can't think of a reason...

Would you describe the problem, if any?

Since I removed linux/compile.h and linux/version.h from kernel/configs.c (as in -test6), I don't see any rebuilding happening. When does it happen?

Also, what kernel version are you referring to???

--
~Randy

#2 lore raw

Hi,

Quoted 4 lines · Randy.Dunlap

| Why does ikconfig.h require forced rebuilding?
| I can't think of a reason...

Would you describe the problem, if any?

It was rebuilding every time.

Quoted 4 lines

Since I removed linux/compile.h and linux/version.h from kernel/configs.c (as in -test6), I don't see any rebuilding happening.  When does it happen?

Ah. Thank you.

Quoted 1 line

Also, what kernel version are you referring to???

*Sigh* I am sorry I forgot that. I really should know better. :-/

Since it works now, the correct answer to that one seems to be "sometime before -test6".

You know the joke where the Jewish father berates his son for using too many words in a telegram... well, seems I need to learn not to do that. :-(

Signature · 4 lines
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [email protected]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Your parentheses always match.
#3 lore raw
In reply to Smurf
Quoted 2 lines · Smurf

Why does ikconfig.h require forced rebuilding?
I can't think of a reason...

Check Documentation/kbuild/makefiles.txt, search for if_changed.

Sam