summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunichi Uekawa <uekawa@google.com>2015-11-17 03:29:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-11-17 03:29:37 +0000
commit1337349ea11a6bb5c44ba5c5bb064c750bd626c5 (patch)
tree0441a2dfa26f69d7cd662c05e5ad987a21612a9a
parentc40f213b67cb12a8771845ec2c609e060d9c19b0 (diff)
parent07b69961f2291f002f15cc4168726ba1e306914c (diff)
downloadcore-1337349ea11a6bb5c44ba5c5bb064c750bd626c5.tar.gz
core-1337349ea11a6bb5c44ba5c5bb064c750bd626c5.tar.bz2
core-1337349ea11a6bb5c44ba5c5bb064c750bd626c5.zip
Merge "Fix non-vendor.img configuration."
-rw-r--r--rootdir/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index b134f9353..895a25d64 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -48,6 +48,8 @@ LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_ROOT_OUT)/, \
ln -sf /storage/self/primary $(TARGET_ROOT_OUT)/sdcard
ifdef BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/vendor
+else
+ LOCAL_POST_INSTALL_CMD += ; ln -sf /system/vendor $(TARGET_ROOT_OUT)/vendor
endif
ifdef BOARD_ROOT_EXTRA_SYMLINKS
# BOARD_ROOT_EXTRA_SYMLINKS is a list of <target>:<link_name>.