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

Update OpenWrt to master branch #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XzxEmbedded
Copy link
Contributor

No description provided.

@@ -196,15 +197,25 @@ build_cgminer() {
eval AVA_TARGET_PLATFORM=\${"`echo ${AVA_TARGET_BOARD//-/_}`"_brdcfg[0]}
cd ..
mkdir -p ./bin/${AVA_TARGET_BOARD}
cp ./openwrt/bin/${AVA_TARGET_PLATFORM}/packages/cgminer/cgminer*.ipk ./bin/${AVA_TARGET_BOARD}
if [ "$AVA_MACHINE" == "avalon8" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion:
Try to remove the machine check if possible.
It will be better to use a common structure for every machine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I try to use a commom structure for every machine, but some avalon7's machine can not build successfully, because some hardware will not support, eg. zctrl. Or if you have another idea.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants