sis-updater: use -std=gnu++14

Newer libchrome header file needs to be compiled with C++14.

BUG=chromium:909719
TEST=emerge-endeavour sis-updater

Change-Id: Ic4e7cbef12362c17890a34b25442c60352c87b98
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/sis-updater/+/1999869
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Joe Tessler <jrt@chromium.org>
Reviewed-by: Qijiang Fan <fqj@google.com>
Commit-Queue: Qijiang Fan <fqj@google.com>
Tested-by: Qijiang Fan <fqj@google.com>
1 file changed
tree: bdfd4bba192eb59900d15306e19dc29768df7b24
  1. conf/
  2. src/
  3. .gitignore
  4. common.mk
  5. LICENSE
  6. Makefile
  7. OWNERS
  8. README.md
README.md

SiS Firmware Updater

Description

The code was proviced by SiS and modified by Google. Modifications include:

  • Cleaning the code according to Google C++ coding style. Eliminating compiling errors.
  • Adding a feature that the updater can take the device name from input parameters. Blinded search is only required when input device name is invalid.
  • Adding a feature that the updater will compare FW version before actual update. If the FW versions on device and in Chrome OS are same, the updater will terminate.
  • Adding a input flag specifying whether the device is in recovery mode (FW update fails last time). The flag value is determined by VID from udev rule.

Requirements

On Linux, should run as root.

Build

At the root of the repository: make.

Under Chrome OS development enviroment: emerge-${BOARD} sis-updater.

How to use

Just run ./sis-updater.