[PATCH] ieee1394: allow building with absolute SUBDIRS path

From: Johannes Berg
Date: Thu Jan 26 2006 - 06:51:33 EST


This patch allows building the modules with an absolute SUBDIRS path,
especially for building them out of tree.

Signed-Off-By: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

--- 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

Attachment: signature.asc
Description: This is a digitally signed message part