[CRIU] [PATCH 2/6] Makefile: remove an unneeded dependency

Kir Kolyshkin kir at parallels.com
Wed Feb 22 09:53:36 EST 2012


On 02/22/2012 01:24 PM, Kinsbursky Stanislav wrote:
> 22.02.2012 02:09, Kir Kolyshkin пишет:
>> There is no need to make .d files for restorer-blob.h
>>
>> Signed-off-by: Kir Kolyshkin<kir at openvz.org>
>> ---
>>    Makefile |    2 +-
>>    1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/Makefile b/Makefile
>> index d5ffeca..3486a73 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -103,7 +103,7 @@ $(RHEAD-BIN): $(ROBJS) $(RHEAD-LDS)
>>    	$(E) "  GEN     " $@
>>    	$(Q) $(LD) -T $(patsubst %.bin,%.lds.S,$@) -o $@ $(ROBJS)
>>
>> -$(RHEAD-BLOB-GEN): $(RHEAD-BIN) $(RDEPS-BLOB)
>> +$(RHEAD-BLOB-GEN): $(RHEAD-BIN)
>>    	$(E) "  GEN     " $@
>>    	$(Q) $(SH) gen-offsets.sh			\
>>    		restorer_h__				\
> You forgot to remove RDEPS-BLOB itself.

Thanks for catching this! The problem is I still haven't figured out 
which deps are needed for which targets.

I hope I will be able to dig into that soon, and untangle the Makefile a 
bit more. For now, let it stay as it is.



More information about the CRIU mailing list