title: Copy multiple txt files in /system using Android.mk
body: <p>Aim : I want to copy <strong>multiple</strong> txt files in /system ( of Android Device ) using Android.mk</p>
  
  <p>My Findings : </p>
  
  <p>We can copy file using two approach
  1) Use PRODUCT_COPY_FILES. This is done from devices/  / makefile.mk</p>
  
  <p>ex:</p>
  
  <pre><code>PRODUCT_COPY_FILES := \
    frameworks/base/data/etc/telephony.gsm.xml:system/etc/permissions/telephony.gsm.xml \
    some/other/sourc/file:some/destination \
    some/other/sourcefile2: some/destination
  </code></pre>
  
  <p>2) Using BUILD_PREBUILD</p>
  
  <p>ex :</p>
  
  <pre><code>##############copy txt file##################
  include $(CLEAR_VARS)
  #LOCAL_MODULE := mydata.txt
  LOCAL_MODULE_TAGS := optional
  LOCAL_MODULE_CLASS := ETC
  LOCAL_MODULE_PATH := $(TARGET_OUT)/myfolder
  LOCAL_SRC_FILES := mydata.txt
  include $(BUILD_PREBUILT)
  </code></pre>
  
  <p>for above to work make entry of mydata.txt in build/target/product/core.mk</p>
  
  <p>My Specific Query is : 
  Now i can copy multiple files using 2nd approach by re-writing the above code
  one after the other. But i want to use 2nd approach (BUILD_PERBUILD ) to copy multiple txt files without re-writing code for all files. </p>
  
  <p>1) Can i do that with just one   include $(BUILD_PREBUILT) call ?</p>
  
  <p>2 )Can BUILD_MULTI_PREBUILD be used to solve the purpose? how ? </p>