[CRIU] [PATCH 03/10] nmk: build.mk -- Squash gen-rule-x into gen-cc-rules

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 24 07:51:25 PDT 2016


On Thu, Mar 24, 2016 at 05:47:29PM +0300, Pavel Emelyanov wrote:
> > +$(eval $(call gen-cc-rules,%,%))
...
> > +$(eval $(call gen-cc-rules,$(obj)/%,$(obj)/%,$(src-makefile)))
> 
> Isn't it better keep the rules independently and introduce one that sticks
> them all together.

That's what was before but I think no, better to keep them in one bungle,
ie single gen-cc-rules, this makes code shorter.


More information about the CRIU mailing list