diff options
author | Sungmin Choi <sungmin.choi@lge.com> | 2013-02-04 00:54:03 +0900 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2013-02-04 10:31:25 -0800 |
commit | 79d51095bb0fa75c5636e1988edd01fcf613694a (patch) | |
tree | f232a100cbd682a6d313d3c6d38d9847e80483f8 /core/pdk_config.mk | |
parent | f05c4f75244e82b60942567a7c6ab18551635265 (diff) | |
download | build-79d51095bb0fa75c5636e1988edd01fcf613694a.zip build-79d51095bb0fa75c5636e1988edd01fcf613694a.tar.gz build-79d51095bb0fa75c5636e1988edd01fcf613694a.tar.bz2 |
pdk: fix build error on mac
About symlink, show error on Mac.
To fix it, use 'rm' before 'cp'.
error log:
cp: symlink: /data/misc/audio/wcd9310_anc.bin: File exists
make: *** [out/target/product/mako/system/etc/firmware/wcd9310/wcd9310_anc.bin] Error 1
Bug: 8127112
Change-Id: I94e1677a6742cf4350e92bdffd58e6b782cf662c
Diffstat (limited to 'core/pdk_config.mk')
-rw-r--r-- | core/pdk_config.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pdk_config.mk b/core/pdk_config.mk index 28c01f3..afa5b74 100644 --- a/core/pdk_config.mk +++ b/core/pdk_config.mk @@ -110,6 +110,7 @@ $(_pdk_fusion_files) : $(_pdk_fusion_stamp) # Copy with the last-modified time preserved, never follow symbolic links. $(PRODUCT_OUT)/% : $(_pdk_fusion_intermediates)/% $(_pdk_fusion_stamp) @mkdir -p $(dir $@) + $(hide) rm -rf $@ $(hide) cp -fpPR $< $@ ifeq (true,$(TARGET_BUILD_PDK_JAVA_PLATFORM)) |