Overwrite android-info instead of appending to it
if someone changes board-info.txt, then it should be copied out to out/target/product/<device>/android-info.txt, instead of appending.
This commit is contained in:
parent
0706e6a4a3
commit
35b84b287f
@ -46,7 +46,7 @@ board_info_txt := $(wildcard $(TARGET_DEVICE_DIR)/board-info.txt)
|
||||
$(INSTALLED_ANDROID_INFO_TXT_TARGET): $(board_info_txt)
|
||||
$(call pretty,"Generated: ($@)")
|
||||
ifdef board_info_txt
|
||||
$(hide) cat $< >> $@
|
||||
$(hide) cat $< > $@
|
||||
else
|
||||
$(hide) echo "board=$(TARGET_BOOTLOADER_BOARD_NAME)" > $@
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user