• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

device/generic/common


Commit MetaInfo

修訂29cb62021bdf3fe53606536a5abd8e58c50b5af0 (tree)
時間2019-11-28 17:51:13
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

system.mk: remove properties from build.prop

They are set at runtime.

Change Summary

差異

--- a/build/tasks/system.mk
+++ b/build/tasks/system.mk
@@ -1,5 +1,6 @@
1-$(PRODUCT_OUT)/build.prop: $(INSTALLED_BUILD_PROP_TARGET)
2- sed -E '/ro.product.manufacturer|ro.product.model/d' $< > $@ && cat $@ > $<
1+$(PRODUCT_OUT)/build.prop: $(INSTALLED_BUILD_PROP_TARGET) $(INSTALLED_VENDOR_BUILD_PROP_TARGET)
2+ ln -sf ../system/bin/modprobe $(TARGET_ROOT_OUT_SBIN) && \
3+ sed -i -E '/ro.product.*manufacturer|ro.product.*model/d' $^ && touch $@
34
45 $(BUILT_SYSTEMIMAGE): $(PRODUCT_OUT)/build.prop
56