swr/codegen: fix autotools build
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 26 Feb 2019 13:53:25 +0000 (14:53 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 27 Feb 2019 17:59:06 +0000 (17:59 +0000)
commit71a76a47ccb34c5c259781ed49b0013e86dfaa31
treec84d43c8f72918a6974829c07548d0ee1580e3e6
parent738626dacace4b3eaca8a8fcbfe4c984f9000419
swr/codegen: fix autotools build

When the output directory was changed, the BUILT_SOURCES and build-rule
target-path was no longer correct, leading to races to generate the
sources and compiling them.

Fix this by updating both sets of paths, so automake see what's going on
here.

Fixes: 773b3ceacaf ("swr/rast: Fix autotools and scons codegen")
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Alok Hota <alok.hota@intel.com>
src/gallium/drivers/swr/Makefile.am