summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-28tasks/kernel.mk: use zImage as kernel if zImage specifiedlinaro-o-previewYongqin Liu
otherwise the link command will failed if multiple kernel making targets with zImage specified. There maybe other cases of multiple make targets specification, let's deal with that case when met Change-Id: I342502b202ec9f75d239a229f5cc7a740c3fd2fd Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-06-27common-device.mk: set default log size to 1MYongqin Liu
Set default log size on userdebug/eng build to 1M Change-Id: I6d763ac0d35b716e5970441874b8819eccb06b34 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-06-18Merge "Revert "common-device.mk: disable network time"" into linaro-o-previewYongqin LIU
2017-06-16Revert "common-device.mk: disable network time"Yongqin LIU
This reverts commit d0a39a5067e2d36c67350cbdf5b9f58d90e715f4. Change-Id: Ie022ff0e4c2f0c978449799133c3fe7e6eb62a6f
2017-05-18Integrated of getcap, setcap and tjbenchYongqin Liu
Change-Id: Ied15fa9d6010d78f0484be8027cecd75de2b5f7b Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-05-13common-device.mk: disable network timeYongqin Liu
which seems cause the message in the the logcat main buffer lost Change-Id: I83afebd7a1fd9162ce77c5cb5c290171a3723cc1 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-04-29sepolicy: update for O preview based buildsYongqin Liu
Change-Id: Ie4d225c3bd9fcc7f1f85d3c55ed939d845f4795e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-04-14kernel.mk: add support to compile with clangYongqin Liu
Change-Id: I8a4b58b65276bdeb1ce96aa6eda08214df8e0735 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-04-12setup linaro-o-preview branchYongqin Liu
remove the common settings which is not necessary for android O and later Change-Id: Iddb02aeb154d96bc464e451feae7977e8b1e8124 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-01-21tasks/uboot.mk: update to compile uboot for X15RLCR-17.02Yongqin Liu
need to refactory again when new boards added. Change-Id: Ia74d23e1189b4a2154bfd834d5dfa0f21b41fa12 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-12-01tasks/kernel.mk: support for kernel toolchain specificationRLCR-16.12Yongqin Liu
with KERNEL_TOOLS_PREFIX to specify the toolchain used for kernel building, if not specified, use the default android TARGET_TOOLS_PREFIX Change-Id: Ic19635fd43128cdfe089061507c49d90fe05a4b8 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-11-18Add LINARO_NO_KERNEL conditionalBernhard Rosenkränzer
Some boards (e.g. X20) come with their own kernel and their own mechanism for building it -- to keep building from one source tree, we have to be able to disable the kernel build mechanism here without setting TARGET_NO_KERNEL. Change-Id: I3398db4e453219a1f8b37e5881dfdf111966c88f Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2016-10-25tasks/kernel.mk: support specified KERNEL_TARGETRLCR-16.11Yongqin Liu
use the specified value if KERNEL_TARGET is specified, otherwise use the default target as before Change-Id: I094f6b95e03947e3c5a0e4ba68886835b965da4e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> (cherry picked from commit e69264c1f769313d5e2c564aad2fcad90f7aaf63)
2016-09-28common-device.mk: integrate webview by defaultRLCR-6.10RLCR-16.10Yongqin Liu
Change-Id: I29c38c0a9c672862ddd2c76cd1c59fe672d10525 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-09-20common-device.mk: copy media_codecs_google_audio.xml to targetRLCR-16.09Jon Medhurst
Linaro's media_codecs.xml Includes media_codecs_google_audio.xml so we need to also copy that to the target. This fixes audio and video playback on Juno. Change-Id: Id4b701352dbab3eea9e9781660c6fc19ba445fa6 Signed-off-by: Jon Medhurst <tixy@linaro.org>
2016-08-26use default google audio codecs listVishal Bhoj
include media_codecs_google_audio.xml in media_codecs.xml instead of listing audio codecs. Change-Id: Ic2c8794b317138538d2b9ed0f8ee4bb095d36057 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-04-14tasks/kernel.mk: fixe syntax error reported by ninjalinaro-n-previewYongqin Liu
Change-Id: Ib32a1e7bceae35587be948af2058111066f78809 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-11-20sepolicy: update rule for marshmallow buildsRLCR-16.01RLCR-15.12Yongqin Liu
Change-Id: Id6d068cf84a8913541d3f24058b98ab184596283 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-10-22sepolicy: add policies for scripts started in init for TC2Yongqin Liu
since Marshmallow has more strict selinux check, so we need the rules added here. add the linaro and linaro_exec domain for such scripts Change-Id: I073e7ea37a541e5376962702f2f2ad39e67a5259 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-10-20sepolicy/init.te: update sepolicy rules for marshmallowYongqin Liu
updated for following warnings: avc: denied { create } for pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1 avc: denied { mounton } for pid=1 comm="init" path="/cache" dev="rootfs" ino=73 scontext=u:r:init:s0 tcontext=u:object_r:cache_file:s0 tclass=dir permissive=1 avc: denied { mounton } for pid=1 comm="init" path="/storage" dev="rootfs" ino=73 scontext=u:r:init:s0 tcontext=u:object_r:storage_file:s0 tclass=dir permissive=1 Change-Id: I454c559c7f5fd649db66d920ec8c96a3aba24288 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-10-15Wait only for 3 minutes to get to homescreenVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: Ibe620512d45091f0bce919f117e707df4d3b3eea
2015-09-01Update tasks/kernel.mk for Linux 3.18 DTBslinaro-lollipop-experimentalJon Medhurst
The Makefile in Linux 3.18 does not support building specific named device-trees, so use the 'dtbs' build target to build all those configured for the current kernel. (That build target also works on 3.10 kernels.) Also, the source files for device-trees trees are now spread out into sub-directories named by vendor, so switch to using the 'find' command to find the built dtb files we want to copy. Change-Id: I1523db96a3013da017fd119a9650afec17a4e00a Signed-off-by: Jon Medhurst <tixy@linaro.org>
2015-08-12common-device.mk: integrate Dev Tools applicationYongqin Liu
Change-Id: I036cfd9bd545dd399914a1b69dac816ccfb1408f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-07-22disablesuspend.sh: support check for Launcher3 when wait for home screenYongqin Liu
this is for the running Nexus9 on LAVA Change-Id: Id71963ac6935e784fe921559de9917e2b3b2400c Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-07-21Fix sepolicy for UART on hikey for serial consoleVishal Bhoj
We have changed console to ttyAMA3 on hikey Change-Id: I5e6a7d7682320c0fa661cfa3aeff7e9a16dd9bf8 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-07-01common-device.mk: enabled mediacodec by defaultYongqin Liu
move the copy of media_codecs.xml file from extra-and-tests.mk to common-device.mk, so that mediaplayback will be enabled without any condition Change-Id: I3fc15a9eddef643baf7e22f7ab5428d1bda8860d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-06-25common-device.mk: change on including tests and make adbd started with root ↵Yongqin Liu
permission use INCLUDE_TESTS to specify if tests will be integrated. only when INCLUDE_TESTS is set to 1, tests will be integrated. and INCLUDE_TESTS is default to 1. set service.adb.root to 1 to make adb boot with root permission Change-Id: I7062d79cdebca1f9bd86dd048b6659633ef548a5 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-06-23file_contexts: update file security context for DRM device and BT deviceYongqin Liu
add following 2 lines: /dev/dri/card0 u:object_r:gpu_device:s0 /dev/hci_tty u:object_r:hci_attach_dev:s0 Change-Id: I8c83b055d7a7798f3baecf64898d02b600f23f18 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-06-18common-device.mk: create a common file to be used other platformsYongqin Liu
make this file a common place where we can add features for all linaro supported boards. This should help to reduce the maintenance effort. Change-Id: I9935b67c1ad7a4222e0b13194b7eb6aff77d0214 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-06-15One more variable for which kernel shouldn't be builtVishal Bhoj
Change-Id: I9c9af918bad2c3ca5a4f3c73a08d16ca52b76b53 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-06-05Merge "Make sure kernel build is not invoked for emulators" into ↵Vishal Bhoj
linaro-lollipop-experimental
2015-06-05Make sure kernel build is not invoked for emulatorsVishal Bhoj
Change-Id: I8f260039a41cfff2b665d0c072cb0509b286b584 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-06-05update sepolicy rules to support master branch as wellYongqin Liu
mainly for module_request permission of personality-8 avc: denied { module_request } for pid=2399 comm="dex2oat" kmod="personality-8" scontext=u:r:shell:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0 Change-Id: I474d2e3331f88cd44b18f64203d287ba86fc0cff Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-06-04extra-and-tests.mk: integrate the perf commandYongqin Liu
Change-Id: Icf4d0ad93fb84a60478396b6432f08a27f48ba65 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-03-27Merge "extra-and-tests.mk: change to use bionic-unit-tests-static" into ↵Yongqin Liu
linaro-lollipop-experimental
2015-03-27extra-and-tests.mk: change to use bionic-unit-tests-staticYongqin Liu
so that we don't need to integrate many libraries that the dynamic linked binaries need Change-Id: Ib88b57a55905f98fd231395d831dd51a363400dc Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-03-23Revert "Revert "Add test file for test commit""Vishal Bhoj
This reverts commit 27c010b979970297f5489a3a57c39566cc0ca30d. Change-Id: Ic8971abd6f6edcec48c4c6ccf72b6f337cde5d87
2015-03-20Revert "Add test file for test commit"Vishal Bhoj
This reverts commit c10fd5d6fbbcb590c08dbcd720bdc3df5ea2eda4. Change-Id: I94dde4a49aece88fccbda960570ae55db8364329
2015-03-20Add test file for test commitVishal Bhoj
Change-Id: I7031070f685ac8e45ea1ab4dae621f673c348c22 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-03-04extra-and-tests.mk: integrate test for bionicYongqin Liu
integrate the bionic-benchmark and bionic-unit-test for checking the performance of bionic Change-Id: I311dc77eb3806688cceebf6495107ae9527c3edf Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-01-26netd.te: allow netd to access gatord sockfs fileYongqin Liu
Change-Id: I08df1f187d7ab2c2fe47d106ef57bf683b483bab Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-12-22Merge "add hack about mkshrc" into linaro-lollipop-experimentalYongqin Liu
2014-12-22add hack about mkshrcYongqin Liu
since lava will update mkshrc to set the boot prompt, and this causes the security context information of /system/etc/mkshrc lost, and the console service is not able to read the content of mkshrc file, at last it cause the boot promopt can not be set correctly. The bug is reported here: https://bugs.linaro.org/show_bug.cgi?id=548 And this change is to give the shell domain the permission to read the content of the mkshrc file updated by lava. This change should be remove after the above bug fixed. Change-Id: I8819655276b07ce7660d4a567f10f76b51710a05 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-12-17extra-and-tests.mk: integrate the piglit test in extra-and-tests.mkYongqin Liu
Change-Id: Iab668b8d519a4a4fe26c352378e29625f6b76c0f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-26sepolicy update: netd.te and file_contextsYongqin Liu
sepolicy file_contexts: make the shell domain have rw permission for console device set the console device of /dev/ttyAMA0 to have security context of u:object_r:console_device:s0, so that the shell domain can read and write it. netd.te: set the netd domain have the permission of module_request for kernel:system for following avc warning: avc: denied { module_request } for pid=2273 comm="iptables" kmod="iptable_nat" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0 Change-Id: I240641f4cfc4ed2f7d1dffb9d61968f5ef1140ea Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-25run-bionic-tests.sh: change for bionic libc testYongqin Liu
run-bionic-tests.sh: check if the test program exists first, if it does not exist, then will not try to run the test Change-Id: Id1450da83b436e48c014bc802b30fc38bf20dd99 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-21make init domain have the sys_module permissionYongqin Liu
for following error: avc: denied { sys_module } for pid=1 comm="init" capability=16 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0 Change-Id: Ife9e879b55763a5040baa3f7390801947e0c0eb2 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-21eth0_dns.sh: update to use setnetdns to set dns for eth0Yongqin Liu
update according to the upstream Change-Id: I2caa104f93dfd5549bc89046a22e3ab20516a0b9 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-20Merge "sepolicy: add sepolicies to make gatord run in permissive mode" into ↵Vishal Bhoj
linaro-lollipop-experimental
2014-11-20android-quirks.conf: support install and uninstall kernel module at runtimeYongqin Liu
add configs of CONFIG_MODULES=y and CONFIG_MODULE_UNLOAD=y Change-Id: Ib46b3e6b62c232b088bcc15b72c034c367ebd6b5 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>