Hi Michael,

* Michael Olbrich <m.olbr...@pengutronix.de> [2012-01-30 15:06]:
> 
> This is not correct. It will sort all post files and does not honor the
> order of PTXDIST_PATH_POSTRULES. This should probably be something like
> this (untested):
> 
> $(foreach dir, $(call reverse,$(subst :,$(space),$(PTXDIST_PATH_POSTRULES))), 
> include (sort $(wildcard $(dir)/*.make)))

I'm not really a make guru like you. Your example doesn't work.
Following works:

include $(foreach dir, $(call reverse,$(subst 
:,$(space),$(PTXDIST_PATH_POSTRULES))), $(sort $(wildcard $(dir)/*.make)))

Does that look correct in your eyes?


Regards,
Bernhard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to