You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
Hi all,
Recently we moved to Android N from M, and I'm working on poring some customized features to fastboot project. When I'm trying to build fastboot utility for Windows with the command "make -j8 fastboot USE_MINGW=1", it still generates the binary for Linux:
#### make completed successfully (30 seconds) ####
Does anyone know how to generate "fastboot" utility?
Thanks,
Stanley
Colin Cross
unread,
Sep 14, 2016, 5:33:59 PM9/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
Windows builds are now integrated with the linux build, make fastboot
should build both the linux and windows versions, and USE_MINGW=1 is
unnecessary.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
You don't need to use USE_MINGW anymore, the build system understands how to do host cross-compiles natively now. Just doing 'mma' in system/core/fastboot will build both the linux and windows versions. You could also use:
m -j8 host_cross_fastboot
As the most similar command to what you were running.
- Dan
--
Xiaofeng Lei
unread,
Sep 14, 2016, 7:17:22 PM9/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
Thanks Colin & Dan.
The default command "make -j8 fastboot" can't build out fastboot for windows, but the two commands from Dan are working well.