Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"unexpected operator" error when running the hex build command #22

Open
tzukif opened this issue Jul 22, 2021 · 2 comments
Open

"unexpected operator" error when running the hex build command #22

tzukif opened this issue Jul 22, 2021 · 2 comments
Labels

Comments

@tzukif
Copy link

tzukif commented Jul 22, 2021

when running the following hex build command for SPRACINGF3 I'm getting the following message ( on windows 10 )

c:\Users\tzuki\Bfligth>docker run -e "parameter=SPRACINGF3" --rm -it -v c/Users/tzuki/bflight/betaflight:/opt/betaflight betaflight/betaflight-build
/bin/sh: 1: [: =: unexpected operator
/bin/sh: 1: [: =: unexpected operator
/bin/sh: 1: [: =: unexpected operator
/bin/sh: 1: [: =: unexpected operator
/bin/sh: 1: [: =: unexpected operator
make: *** No rule to make target 'clean'. Stop.
make: *** No targets specified and no makefile found. Stop.

Any suggestions?

@haslinghuis
Copy link
Member

Afaik this target does not build (just tested) and is not supported anymore.

parameter=SPRACINGF3 should be TARGET=SPRACINGF3.

You might try to edit Dockerfile and replace FROM ubuntu:16.04 to FROM ubuntu:20.04.
Beware the docker build has not updated for a few years now. Please use linux or WSL instead.

@stale
Copy link

stale bot commented Apr 17, 2022

This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

@stale stale bot added the Inactive label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants