device/generic/common
修訂 | 29cb62021bdf3fe53606536a5abd8e58c50b5af0 (tree) |
---|---|
時間 | 2019-11-28 17:51:13 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
system.mk: remove properties from build.prop
They are set at runtime.
@@ -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 $@ | |
3 | 4 | |
4 | 5 | $(BUILT_SYSTEMIMAGE): $(PRODUCT_OUT)/build.prop |
5 | 6 |