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:
Ying Wang 2009-12-03 11:25:47 -08:00
parent 0706e6a4a3
commit 35b84b287f

View File

@ -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