phoenix-rtos / phoenix-rtos-hostutils

Phoenix-RTOS supporting daemon
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

Makefile, usb_imx: change order of library args, add missing mode to open with create #2

Closed iceslab closed 5 years ago

iceslab commented 5 years ago

Order of library link arguments changed, because gcc on Ubuntu doesn't like it. It's mentioned here that on some versions and distros it happens. Open needs to have mode passed when using with _OCREAT or _OTMPFILE