out-of-tree build #17449
Unanswered
yf13
asked this question in
Core Development
out-of-tree build
#17449
Replies: 1 comment 2 replies
-
It seems that out-of-tree building can be done like below, if $ cd ~/Projects/micropython
$ ls -l mpy-cross/build/
-rwxrwxr-x 1 yf yf 436440 Jun 7 22:59 mpy-cross
$ BUILD=/tmp/bbb make -C ports/unix This doesn't feel right as it assumes an in-tree |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am totally new to micropython.
It seems that out-of-tree building is available at least for
mpy-cross
as I can do below on Ubuntu 22.04 host with gcc 11.4:But when I tried same method for
ports/unix
, I got errors:Meanwhile In place build of
ports/unix
works smoothly.So I am wondering how the situation of out-of-tree build is? Is it a design goal?
Beta Was this translation helpful? Give feedback.
All reactions