Support a raw bootconfig file as input to vendor-bootconfig.img

Make variables can only get us so far...
This allows for more of the supported input formats for boot config,
like spaces in the values.

Ex:
foo=this will work in a file

If that is in a file, it will be added to the vendor-bootconfig.img
as-is. If it is in the BOARD_BOOTCONFIG variable, it gets chopped up to
look like multiple different arguments like:

foo=this
will
work
in
a
file

Test: build with/without BOARD_BOOTCONFIG and BOARD_BOOTCONFIG_FILE
Test: verify contents of vendor-bootconfig.img in all 4 combos
Test: verify "bootconfig" kernel cmdline arg doesn't show up in
vendor_boot.img when neither variable is set
Bug: 374651835

Change-Id: If59b1a9c968799bacbd4d88e0191e6bddc81a361
2 files changed
tree: 8e93c957d9cca2202f6e8a0a02d2879548eada5e
  1. ci/
  2. common/
  3. core/
  4. packaging/
  5. target/
  6. teams/
  7. tests/
  8. tools/
  9. .gitignore
  10. Android.bp
  11. banchanHelp.sh
  12. buildspec.mk.default
  13. Changes.md
  14. CleanSpec.mk
  15. Deprecation.md
  16. envsetup.sh
  17. help.sh
  18. navbar.md
  19. OWNERS
  20. PREUPLOAD.cfg
  21. rbesetup.sh
  22. README.md
  23. shell_utils.sh
  24. tapasHelp.sh
  25. Usage.txt
README.md

Android Make Build System

This is the Makefile-based portion of the Android Build System.

For documentation on how to run a build, see Usage.txt

For a list of behavioral changes useful for Android.mk writers see Changes.md

For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.

This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.