mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
configure.ac: Fix chmod on intel_aubdump the right way
autoconf executes the init commands after each file it creates, causing these errors at configure time: ... chmod: cannot access 'tools/intel_aubdump': No such file or directory config.status: creating tools/Makefile chmod: cannot access 'tools/intel_aubdump': No such file or directory config.status: creating tools/intel_aubdump config.status: creating tools/quick_dump/Makefile ... Once it creates intel_aubdump, the errors go away. When I first added the chmod command, I already had a tools/intel_aubdump in my tree and didn't get the error. Split the intel_aubdump creation into its own AC_CONFIG_FILES() invocation to avoid this. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
This commit is contained in:
parent
78e2a2f245
commit
5f9bc98a55
@ -255,7 +255,6 @@ AC_CONFIG_FILES([
|
||||
scripts/Makefile
|
||||
tests/Makefile
|
||||
tools/Makefile
|
||||
tools/intel_aubdump
|
||||
tools/quick_dump/Makefile
|
||||
tools/null_state_gen/Makefile
|
||||
debugger/Makefile
|
||||
@ -265,8 +264,9 @@ AC_CONFIG_FILES([
|
||||
assembler/test/Makefile
|
||||
assembler/intel-gen4asm.pc
|
||||
overlay/Makefile
|
||||
],
|
||||
[chmod +x $(topbuilddir)/tools/intel_aubdump])
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([tools/intel_aubdump], [chmod +x tools/intel_aubdump])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user