OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760d89c
)
build: remove two properties from build.prop
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 31 Oct 2017 09:40:05 +0000
(17:40 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 31 Oct 2017 09:40:05 +0000
(17:40 +0800)
Don't set ro.product.manufacturer and ro.product.model
in build.prop. We will set them at runtime.
build/tasks/system.mk
patch
|
blob
|
history
diff --git
a/build/tasks/system.mk
b/build/tasks/system.mk
index
bffb044
..
6b03ed2
100644
(file)
--- 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) $< $@