osmith has submitted this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39594?usp=email )
Change subject: drivers/dahdi/Kbuild: fix 'No rule to make target' ......................................................................
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(-)
Approvals: osmith: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
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 ###############################################################################