This patch allows building the modules with an absolute SUBDIRS path, especially for building them out of tree. Signed-Off-By: Johannes Berg --- a/drivers/ieee1394/Makefile +++ b/drivers/ieee1394/Makefile @@ -18,7 +19,7 @@ obj-$(CONFIG_IEEE1394_AMDTP) += amdtp.o obj-$(CONFIG_IEEE1394_CMP) += cmp.o quiet_cmd_oui2c = OUI2C $@ - cmd_oui2c = $(CONFIG_SHELL) $(srctree)/$(src)/oui2c.sh < $< > $@ + cmd_oui2c = $(CONFIG_SHELL) $(src)/oui2c.sh < $< > $@ targets := oui.c $(obj)/oui.o: $(obj)/oui.c