• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


コミットメタ情報

リビジョン0db6aac6b5faac55d3ee0a8d16adf0a6e7afd64d (tree)
日時2015-07-26 14:39:44
作者Chih-Wei Huang <cwhuang@linu...>
コミッターChih-Wei Huang

ログメッセージ

Create symbolic links on $(TARGET_OUT)/lib/firmware

変更サマリ

差分

--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,23 @@
1+#
2+# Copyright (C) 2014-2015 The Android-x86 Open Source Project
3+#
4+# Licensed under the Apache License, Version 2.0 (the "License");
5+# you may not use this file except in compliance with the License.
6+# You may obtain a copy of the License at
7+#
8+# http://www.apache.org/licenses/LICENSE-2.0
9+#
10+
11+LOCAL_PATH := $(my-dir)
12+
13+SYMLINKS := $(addprefix $(TARGET_OUT)/lib,$(subst $(LOCAL_PATH),,$(shell find $(LOCAL_PATH)/firmware -type l)))
14+
15+$(SYMLINKS): FW_PATH := $(LOCAL_PATH)
16+$(SYMLINKS):
17+ @link_to=`readlink $(subst $(TARGET_OUT)/lib,$(FW_PATH),$@)`; \
18+ echo "Symlink: $@ -> $$link_to"; \
19+ mkdir -p $(@D); ln -sf $$link_to $@
20+
21+ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS)
22+
23+include $(call all-makefiles-under,$(LOCAL_PATH))