Skip to content

Commit

Permalink
configure: fix error when building out of source
Browse files Browse the repository at this point in the history
When building out of source, currently, the python subdir in build directory
will not be created, and in the make step some error will occur.

Error message: `error: unable to open output file 'build/python/trace-python.op': 'No such file or directory'`

Signed-off-by: Chongyun Lee <[email protected]>
  • Loading branch information
licy183 authored and namhyung committed Jun 24, 2023
1 parent 04d73dc commit 6721fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ all: prepare
@\$(MAKE) -C \$(srcdir)
clean:
@rm -rf cmds arch libmcount libtraceevent utils misc
@rm -rf cmds arch libmcount libtraceevent utils misc python
@rm -f uftrace version.h *.o *.op
prepare:
@mkdir -p cmds arch/\$(ARCH) libmcount libtraceevent utils misc
@mkdir -p cmds arch/\$(ARCH) libmcount libtraceevent utils misc python
install:
@\$(MAKE) -C \$(srcdir) install
Expand Down

0 comments on commit 6721fec

Please sign in to comment.