osmith submitted this change.
drivers/dahdi/Kbuild: fix 'No rule to make target'
Add a workaround for this error with current linux master:
make[4]: *** No rule to make target 'vpmadt032_loader/vpmadt032_x86_64.o', needed by 'dahdi_vpmadt032_loader.o'. Stop.
Change-Id: I653318e158caf133bf4c81cd04da0adec14ed0d8
---
M drivers/dahdi/Kbuild
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild
index c3ec58e..4d05f12 100644
--- a/drivers/dahdi/Kbuild
+++ b/drivers/dahdi/Kbuild
@@ -146,6 +146,12 @@
endif
endif
+# FIXME: This workaround should not be necessary, but for some reason the rule
+# '$(obj)/%: $(src)/%_shipped' from linux.git scripts/Makefile.lib doesn't
+# cover this anymore.
+vpmadt032_loader/vpmadt032_$(DAHDI_ARCH).o: $(src)/vpmadt032_loader/vpmadt032_$(DAHDI_ARCH).o_shipped
+ $(call cmd,copy)
+
###############################################################################
# HPEC Support
###############################################################################
To view, visit change 39594. To unsubscribe, or for help writing mail filters, visit settings.