From 35b84b287f9cba2d098d28eb0e3b44abd6ae131a Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Thu, 3 Dec 2009 11:25:47 -0800 Subject: [PATCH] Overwrite android-info instead of appending to it if someone changes board-info.txt, then it should be copied out to out/target/product//android-info.txt, instead of appending. --- target/board/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/board/Android.mk b/target/board/Android.mk index 71370825c4..ac8cb44c4f 100644 --- a/target/board/Android.mk +++ b/target/board/Android.mk @@ -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