>>Index: etc/config/makefile.rules
>>===================================================================
>>--- etc/config/makefile.rules (revision 357098)
>>+++ etc/config/makefile.rules (working copy)
>>@@ -157,7 +157,10 @@
>> # move IBM xlC generated .u files to the respective .d files
>> 
>> define makedep
>>-    -@(if [ ! -f $@ ] ; then                                                 
>>\
>>+    -@(if [ ! -f $(INCDIR)/config.h ] ; then                                 
>>\
>>+           $(MAKE) -C$(INCDIR);                                              
>>\
>>+       fi;                                                                   
>>\
>>+       if [ ! -f $@ ] ; then                                                 
>>\
> 
> 
> Would it be possible to make this a dependency of the $(DEPENDDIR)/%.d
> target below instead? I.e., have the .d files depend on config.h...

Yes, it is possible (actually this is the first I tried) but it means
changes to three deps rules  and the addition of a special rule for that
config.h file. If you add more branches to the conditionals governing
the creation of the .d files then you have to add the same dependency to
them too.

This one is the simplest change going to the point where all the deps
rules converge.

Liviu

Reply via email to