summaryrefslogtreecommitdiff
path: root/Android.common.mk
AgeCommit message (Collapse)AuthorFilesLines
2017-11-27Android: disable warnings causing errorsRob Herring1-0/+1
AOSP master has changed the build default to -Werror making all the warnings errors. Override that with -Wno-error. Signed-off-by: Rob Herring <robh@kernel.org>
2017-10-09Android: move libraries to /vendorRob Herring1-0/+2
As part of Treble project in Android O, all the device specific files have to be located in a separate vendor partition. This is done by setting LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not break existing platforms without a vendor partition as it will just move files to /system/vendor. Signed-off-by: Rob Herring <robh@kernel.org>
2017-05-28Android: fix missing trailing \Rob Herring1-1/+1
In commit bbe998791d6c ("Android's major/minor/makedev live in <sys/sysmacros.h>"), it didn't apply cleanly and I missed the trailing \, so add it here. Signed-off-by: Rob Herring <robh@kernel.org>
2017-05-28Android's major/minor/makedev live in <sys/sysmacros.h>Elliott Hughes1-0/+1
Bug: https://github.com/android-ndk/ndk/issues/398 Signed-off-by: Rob Herring <robh@kernel.org>
2017-04-03Android: disable pointer-arith and enum-conversionRob Herring1-1/+3
Disable some more warnings from clang. These don't appear to be warnings worth fixing. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-27android: silence ~550 warningsEmil Velikov1-0/+4
Analogous to the autoconf build add the following to the build -Wno-unused-parameter -Wno-missing-field-initializers Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>
2017-01-27android: add note about command line defines and config.hEmil Velikov1-0/+1
Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>
2017-01-27android: add HAVE_VISIBILITY to Android.common.mkEmil Velikov1-0/+1
Currently only libdrm.so properly annotates its internal/private symbols. By setting the macro every binary produced will be in the same boat. This should give is smaller and more secure files Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>
2017-01-27android: introduce Android.common.mk to reduce boilerplateEmil Velikov1-0/+6
... across the makefiles. Currently this isn't much but that will change shortly. As an added bonus this fixes all present and future cases where we've forgotten to strip out the headers from LOCAL_SRC_FILES. In a couple of cases (the tests) we start setting LOCAL_EXPORT_C_INCLUDE_DIRS, which shouldn't be an issue. Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>