From: Chih-Wei Huang Date: Tue, 31 Oct 2017 09:40:05 +0000 (+0800) Subject: build: remove two properties from build.prop X-Git-Tag: android-x86-8.1-r1~57 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ea8e9aee2162059c71b6f50bdef56d0b51eef522;p=android-x86%2Fdevice-generic-common.git build: remove two properties from build.prop Don't set ro.product.manufacturer and ro.product.model in build.prop. We will set them at runtime. --- diff --git a/build/tasks/system.mk b/build/tasks/system.mk index bffb044..6b03ed2 100644 --- a/build/tasks/system.mk +++ b/build/tasks/system.mk @@ -1,3 +1,8 @@ +$(PRODUCT_OUT)/build.prop: $(INSTALLED_BUILD_PROP_TARGET) + sed -E '/ro.product.manufacturer|ro.product.model/d' $< > $@ && cat $@ > $< + +$(BUILT_SYSTEMIMAGE): $(PRODUCT_OUT)/build.prop + ifneq ($(MKSQUASHFS),) $(PRODUCT_OUT)/system.sfs: $(BUILT_SYSTEMIMAGE) | $(SIMG2IMG) $(hide) $(SIMG2IMG) $< $@