diff options
author | Slava Barinov <v.barinov@samsung.com> | 2018-10-10 11:38:55 +0300 |
---|---|---|
committer | Slava Barinov <v.barinov@samsung.com> | 2018-10-10 13:11:33 +0300 |
commit | 192a82ebdcc8df2292a730ccbc1a949a65828c34 (patch) | |
tree | b2b25326b1a37aa205ccd46be2c280e63cfd8d46 | |
parent | eec94e2d7073030fd815d5dcf0968c909760e0f6 (diff) | |
download | meta-mobile-192a82ebdcc8df2292a730ccbc1a949a65828c34.tar.gz meta-mobile-192a82ebdcc8df2292a730ccbc1a949a65828c34.tar.bz2 meta-mobile-192a82ebdcc8df2292a730ccbc1a949a65828c34.zip |
Add ASan support for buildsandbox/vbarinov/asan
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r-- | packaging/meta-mobile.spec | 8 | ||||
-rw-r--r-- | scripts/qemu-va.pre | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/packaging/meta-mobile.spec b/packaging/meta-mobile.spec index 2b6e7ba..39feee1 100644 --- a/packaging/meta-mobile.spec +++ b/packaging/meta-mobile.spec @@ -16,8 +16,14 @@ Tizen Mobile Package Groups and Image Configurations %prep %setup -q +%{?asan: +for f in $(find ks -name '*.yaml'); do +sed -i $f -e '/PostScripts:/i\PrePackages:\n - asan-runtime-env\nPreScripts:\n - qemu-va' +done +} + %build -make +make %install %make_install diff --git a/scripts/qemu-va.pre b/scripts/qemu-va.pre new file mode 100644 index 0000000..797542a --- /dev/null +++ b/scripts/qemu-va.pre @@ -0,0 +1 @@ +export QEMU_RESERVED_VA=0x80000000
\ No newline at end of file |