commit | 613a4c38172c5a50a77c2b3bc58a117359096014 | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Fri Jun 01 13:30:25 2012 -0700 |
committer | Jackeagle <jackeagle102@gmail.com> | Wed Aug 08 12:25:46 2018 -0400 |
tree | 9502dbd52a5acbcd4c2a7d82d6eff4f9b42cd44c | |
parent | 0d8282309beadbc013d30173a35b0a8fb2e3a39c [diff] |
Fix file-size stats on OSX Kernel makefiles that the stat on the system is GNU stat. GNU stat uses the "-c" option to specify format. Darwin stat uses the "-f" option to specify format. This discrepency will cause kernel build breaks. On my system, I symlink stat to GNU stat. This causes the "get-file-size" define to fail. The fix for this is to detect "gstat", aka GNU stat, and use that appropriately. Change-Id: I987c155b7dc3ff14ffe6da40edf834ca34b7df75 Fix up the get-file-size function that was broken due to the prior commit that made it utilize gnu stat (gstat) Change-Id: I24bba2bfcb509ad1ad76d2260eedd685ba45c393
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.