device/generic/common
Revisão | baf6eb9c52cbb30b8e2ab2bd483f1728f64cd696 (tree) |
---|---|
Hora | 2016-08-24 21:49:07 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
houdini: support Intel's implementation
NO_REF_TASK
Tested: pass all test cases of check_houdini.sh
Change-Id: I37ed20cec5354575671f3ea58c0b041774fa6dae
@@ -44,6 +44,7 @@ fi | ||
44 | 44 | |
45 | 45 | cd $binfmt_misc_dir |
46 | 46 | if [ -e register ]; then |
47 | + [ -e /system/bin/houdini$1 ] && dest_dir=/system/bin | |
47 | 48 | # register Houdini for arm binaries |
48 | 49 | if [ -z "$1" ]; then |
49 | 50 | echo ':arm_exe:M::\\x7f\\x45\\x4c\\x46\\x01\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\x00\\x28::'"$dest_dir/houdini:P" > register |
@@ -29,8 +29,10 @@ PRODUCT_PROPERTY_OVERRIDES += \ | ||
29 | 29 | ro.enable.native.bridge.exec64=1 |
30 | 30 | endif |
31 | 31 | |
32 | +ifneq ($(HOUDINI_PREINSTALL),intel) | |
32 | 33 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES := ro.dalvik.vm.native.bridge=libnb.so |
33 | 34 | |
34 | 35 | PRODUCT_PACKAGES := libnb |
36 | +endif | |
35 | 37 | |
36 | 38 | $(call inherit-product-if-exists,vendor/intel/houdini/houdini.mk) |