On Fri, Apr 25, 2008 at 12:01:58PM -0600, Myles Watson wrote:
PAYLOAD_AND_DEP_MK = $(patsubst %,$(PACKAGE_DIR)/packages/%/%.mk, $(DEPENDS-y) $(PAYLOAD-y) $(HOSTTOOLS-y))
Doesn't that put you back where you were with the "You need ruby to compile grub2"?
I don't know how pathsubst works exactly but I assumed that $(PAYLOAD-y) would be used somehow to only apply the substitution on the selected payload?
//Peter