summaryrefslogtreecommitdiff
path: root/help.sh
AgeCommit message (Collapse)Author
2021-03-25Fix the help script.Jaewoong Jung
Test: m help Change-Id: I5ed6357de4ed4e59d2f1337aefe0104b113869fe
2021-03-01Update m help text with guidance on parallelismColin Cross
Remove "-j" from the default recommended arguments and add a paragraph describing the -j behavior. Test: m help Change-Id: Id5a5f4719f18ea2a9d09df43f5fb38592a59f5c9
2020-09-15Revert "Add modules partition."Yifan Hong
Revert submission 1413808-modules_partition Reason for revert: modules partition no longer needed Reverted Changes: Iceafebd85:Add modules partition I2fa96199a:rootdir: Add modules directory Ie397b9ec6:Add modules partition. I4200d0cf5:fastboot: add modules partition Bug: 163543381 Change-Id: Iec1d9421bbfeb114fb705f85d910c6def1f211b6
2020-09-09Add modules partition.Yifan Hong
Modules partition is a dynamic read-write partition. - AVB is not enabled on the partition - OTA is file-based; see follow up CL for details - No build prop files; in particular, no build fingerprint - No fs_config - No notice files; notice files are included in individual APEXes Test: build on CF Bug: 163543381 Change-Id: Ie397b9ec61dfd1c158450d050196024604854d4d
2020-07-16Add odm_dlkm partition.Yifan Hong
Test: define odm_dlkm in CF. Bug: 156020364 Change-Id: I5593d09a1cdf13e651a13e951336555a7475865e
2020-07-13Add vendor_dlkm partition.Yifan Hong
Test: define vendor_dlkm for CF. Bug: 156020364 Change-Id: I459059e1c20df7a285a377b8b3bbc8decc60b124
2019-07-09Rename product_services to system_extJustin Yun
Bug: 134359158 Test: build and check if system_ext.img is created Change-Id: I67f2e95dd29eac6a28e07e24ea973d3a134c3bfc
2018-08-20s/product-services/product_services/gDario Freni
Attempting to reduce the number of different spellings we have for "product services" partition in the codebase. Bug: 112431447 Test: m Change-Id: I6debd3f5f5abc4bd1e22f2ef11c5fe131915976c Merged-In: I6debd3f5f5abc4bd1e22f2ef11c5fe131915976c
2018-08-08Add support for /odm partitionBowgo Tsai
This CL is largely an adaptation of Change-Id I5d229f6ac729ea6df9ff1f14cee2e28972cd9b4d tools/vendor_buildinfo.sh is also renamed to tools/device_buildinfo.sh. The caller then can invoke device_buildinfo.sh "vendor" | "odm" to generate properties for vendor.img and odm.img, respectively. It adds the following variables: - BOARD_AVB_ODM_KEY_PATH - BOARD_AVB_ODM_ALGORITHM - BOARD_AVB_ODM_ROLLBACK_INDEX_LOCATION - BOARD_ODMIMAGE_FILE_SYSTEM_TYPE - BOARD_ODMIMAGE_EXTFS_INODE_COUNT - BOARD_ODMIMAGE_EXTFS_RSV_PCT - BOARD_ODMIMAGE_PARTITION_SIZE - BOARD_ODMIMAGE_JOURNAL_SIZE - BOARD_ODMIMAGE_SQUASHFS_BLOCK_SIZE - BOARD_ODMIMAGE_SQUASHFS_COMPRESSOR - BOARD_ODMIMAGE_SQUASHFS_COMPRESSOR_OPT - BOARD_ODMIMAGE_SQUASHFS_DISABLE_4K_ALIGN - BOARD_PREBUILT_ODMIMAGE - BOARD_USES_ODMIMAGE - LOCAL_ODM_MODULE - PRODUCT_ODM_BASE_FS_PATH - PRODUCT_ODM_VERITY_PARTITION - PRODUCT_ODM_PROPERTIES - TARGET_COPY_OUT_ODM - TARGET_OUT_ODM - TARGET_OUT_ODM_* Bug: 64195575 Test: boot a Taimen with existing images Test: `make odmimage` with - BOARD_AVB_ENABLE := true - BOARD_ODMIMAGE_PARTITION_SIZE := 62914560 - BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4 - TARGET_COPY_OUT_ODM := odm - PRODUCT_ODM_PROPERTIES += odm.test.build=success Test: `make odmimage` with - BOARD_ODMIMAGE_PARTITION_RESERVED_SIZE := 10485760 - BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4 - BOARD_AVB_ENABLE := true - TARGET_COPY_OUT_ODM := odm - PRODUCT_ODM_PROPERTIES += odm.test.build=success - PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true Change-Id: I4dea7b567ec49a766c7a4683decaf81c7e921d55
2018-07-19Add support for /product-services partitionDario Freni
This CL is largely an adaptation of Change-Id I774e6a38003734421591e51bed103802ff84f432 It adds the following variables: - BOARD_AVB_PRODUCT_SERVICES_KEY_PATH - BOARD_AVB_PRODUCT_SERVICES_ALGORITHM - BOARD_AVB_PRODUCT_SERVICES_ROLLBACK_INDEX_LOCATION - BOARD_PRODUCT_SERVICESIMAGE_FILE_SYSTEM_TYPE - BOARD_PRODUCT_SERVICESIMAGE_EXTFS_INODE_COUNT - BOARD_PRODUCT_SERVICESIMAGE_EXTFS_RSV_PCT - BOARD_PRODUCT_SERVICESIMAGE_PARTITION_SIZE - BOARD_PRODUCT_SERVICESIMAGE_JOURNAL_SIZE - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_BLOCK_SIZE - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_COMPRESSOR - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_COMPRESSOR_OPT - BOARD_PRODUCT_SERVICESIMAGE_SQUASHFS_DISABLE_4K_ALIGN - BOARD_PREBUILT_PRODUCT_SERVICESIMAGE - BOARD_USES_PRODUCT_SERVICESIMAGE - LOCAL_PRODUCT_SERVICES_MODULE - PRODUCT_PRODUCT_SERVICES_BASE_FS_PATH - PRODUCT_PRODUCT_SERVICES_VERITY_PARTITION - PRODUCT_PRODUCT_SERVICES_PROPERTIES - TARGET_COPY_OUT_PRODUCT_SERVICES - TARGET_OUT_PRODUCT_SERVICES - TARGET_OUT_PRODUCT_SERVICES_* Bug: 80741439 Test: Successfully built product-services.img with one module in it, and flashed on device. Also successfully built image with /system/product-services directory and no /product-services partition. Change-Id: I5d229f6ac729ea6df9ff1f14cee2e28972cd9b4d
2018-01-25Support /product partitionJaekyun Seok
This CL adds the following build flags to support building product partition from Android build system. - BOARD_AVB_PRODUCT_ADD_HASHTREE_FOOTER_ARGS - BOARD_AVB_PRODUCT_KEY_PATH - BOARD_AVB_PRODUCT_ALGORITHM - BOARD_AVB_PRODUCT_ROLLBACK_INDEX_LOCATION - BOARD_PREBUILT_PRODUCTIMAGE - BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT - BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE - BOARD_PRODUCTIMAGE_PARTITION_SIZE - BOARD_PRODUCTIMAGE_SQUASHFS_BLOCK_SIZE - BOARD_PRODUCTIMAGE_SQUASHFS_COMPRESSOR - BOARD_PRODUCTIMAGE_SQUASHFS_COMPRESSOR_OPT - BOARD_PRODUCTIMAGE_SQUASHFS_DISABLE_4K_ALIGN - BOARD_USES_PRODUCTIMAGE - LOCAL_PRODUCT_MODULE - PRODUCT_FOOTER_ARGS - PRODUCT_PRODUCT_BASE_FS_PATH - PRODUCT_PRODUCT_VERITY_PARTITION - TARGET_COPY_OUT_PRODUCT - TARGET_OUT_PRODUCT* And PRODUCT_PRODUCT_PROPERTIES is added to save product-specific properties in /product/build.prop. Bug: 64195575 Test: succeeded building product.img with BOARD_PRODUCTIMAGE_PARTITION_SIZE, BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE and PRODUCT_PRODUCT_VERITY_PARTITION. Change-Id: I774e6a38003734421591e51bed103802ff84f432
2017-11-28Mark envsetup.sh vars as deprecated in makefilesDan Willemsen
For the envsetup.sh variables that should not be used in makefiles (since they're not explicitly set up, and won't be available on the build servers), mark them as deprecated. Rework our documentation to have a landing page, and create a "Changes" section where we can record changes like these. At some point I may go and backfill some recent work. Test: build/soong/build_test.bash Change-Id: I54b9294ddf270245afdb58d17150db8098584e8a
2017-08-09Consolidate build system usage documentation into source controlJeff Gaston
Bug: 62201421 Test: make help Change-Id: I7a7c917f767590657761396dd0545224ff98f27b