platform_build/tools
David Zeuthen d995f4b04d Add support for Brillo Verified Boot.
The following variables are introduced

 BOARD_BVB_ENABLE: can be set to true to build boot.img and system.img
 files compatible with Brillo Verfied Boot.

 BOARD_BVB_ROLLBACK_INDEX: can be set to an integer to use for the
 rollback index.

 BOARD_BVB_KEY_PATH, BOARD_BVB_ALGORITHM: If set, the former must be a
 path to the private key used to sign the boot image and the latter must
 be the algorithm to use. If unset, a test-key stored in the tree will
 be used.

 BOARD_BVB_MAKE_BOOT_IMAGE_ARGS: Extra options to pass to 'bvbtool
 make_boot_image'.

 BOARD_BVB_SIGN_BOOT_IMAGE_ARGS: Extra options to pass to 'bvbtool
 sign_boot_image'.

 BOARD_BVB_ADD_IMAGE_HASHES_ARGS: Extra options to pass to 'bvbtool
 add_image_hashes'.

 BOARD_CUSTOM_BVBTOOL: Can be set to specify what bvbtool program to
 use.

The existing BOARD_KERNEL_CMDLINE variable is also used, as are existing
kernel and initrd-related variables. Therefore, simply adding

 BOARD_BVB_ENABLE := true

to an existing Makefile should do the trick.

Bug: 26185038
TEST=Added 'BOARD_BVB_ENABLE := true' to hardware/bsp/intel/soc/edison/soc.mk
  and built an image and then ran bvbtool's info_boot_image and
  info_image_hashes commands on the resulting boot.img and system.img
  files and verified that the information was correct. Also ran 'm dist'
  and verified that the boot.img and system.img files in the resulting
  target_files.zip file had similar information.

Change-Id: I08045ed8b0cbddc7c3acdd3a6f2c4bb75cb44bbc
2016-03-18 15:25:43 -04:00
..
acp Remove LOCAL_ACP_UNAVAILABLE 2016-03-01 13:16:53 -08:00
apicheck Ensure prebuilt executables are executable 2016-03-01 22:11:41 -08:00
atree Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
droiddoc Doclava template changes associated with default methods 2016-01-27 11:57:34 +00:00
fs_config fs_config: error on multiple specifications of android_filesystem_config.h 2016-02-11 10:47:06 -08:00
fs_get_stats fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
ijar Remove warnings from ijar/classfile.cc 2015-12-01 16:44:32 +09:00
makeparallel makeparallel: unset MAKEFLAGS and MAKELEVEL 2016-02-05 00:10:20 -08:00
releasetools Add support for Brillo Verified Boot. 2016-03-18 15:25:43 -04:00
rgb2565
signapk Fix two cosmetic issues in signapk. 2016-03-14 13:33:26 -07:00
signtos Add SignTos tool 2014-08-08 13:18:53 -07:00
zipalign Enable -Werror on zipalign 2016-03-18 10:04:07 -07:00
ziptime Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
Android.mk Remove unneccessary TARGET_BUILD_APPS conditional 2015-12-15 15:49:53 -08:00
adbs ADBS now uses stack_core code to parse traces. 2014-07-07 15:14:41 -07:00
brillo-clang-format Include Brillo's cannonical .clang-format file. 2016-02-16 14:29:45 -08:00
buildinfo.sh Add ro.build.ab_update property. 2015-11-19 18:42:52 +00:00
check_builds.sh Use a more modern -j flag. 2012-08-16 22:45:55 -07:00
check_radio_versions.py fix build: make check_radio_versions.py okay with no args 2012-03-21 10:01:01 -07:00
compare_fileslist.py
diff_package_overlays.py Clean common intermediate files if overlay changed 2012-06-04 18:02:55 -07:00
dump-package-stats
event_log_tags.py check syntax of description field in logtags files 2011-01-23 12:57:19 -08:00
fileslist.py Move forward installed-files.txt in the dependency graph 2011-09-09 17:07:23 -07:00
filter-product-graph.py make product-graph now filtered 2012-08-16 22:45:55 -07:00
findleaves.py Follow symlinks in findleaves 2012-08-24 16:24:45 -07:00
fixlinebreaks.sh
generate-notice-files.py Create reproducible NOTICE collections 2015-11-10 12:37:23 -08:00
java-event-log-tags.py Add float support to binary event log. 2015-04-28 18:21:09 -07:00
java-layers.py Add a tool to let you enforce layering between packages in a java module. 2012-10-20 17:25:55 -07:00
merge-event-log-tags.py fix merge-event-log-tags.py deprecation warning 2012-09-20 11:50:34 -07:00
mktarball.sh fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
normalize_path.py Normalize the product makefile path in inherit-product. 2015-10-28 15:20:41 -07:00
parsedeps.py Add tool to parse make dependency info from new --deps flag. 2012-08-16 22:45:55 -07:00
post_process_props.py Do not add 'adb' to persist.sys.usb.config if already there 2015-05-29 07:46:40 +00:00
print_module_licenses.sh
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
warn.py Classify more warning patterns. 2016-03-16 15:15:40 -07:00