Since sign-file was originally a script, the reference to it never failed. Now that
it is compiled, the executable lives in the build directory.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
$(CROSS_COMPILE)objcopy \
--add-gnu-debuglink=$(dbgpkgdir)/usr/lib/debug/$$module \
$(pkgdir)/$$module; \
- scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) \
+ $(builddir)/build-$*/scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) \
$(pkgdir)/$$module; \
fi; \
done