Greetings everyone.

We are porting a hardware to Android and we will need to execute a
script to activate its module, here is the Android.mk:

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)


file := $(TARGET_OUT)/etc/init.modem.sh
$(file) : $(LOCAL_PATH)/init.modem.sh | $(ACP)
        $(transform-prebuilt-to-target)
        $(hide) chmod 0777 $@
ALL_PREBUILT += $(file)

Unfortunately when the image is built the file does not inherit the
permissions set in Android.mk .

I want to avoid using chmod in init.rc (to keep it fast and simple), I
am reading ANDROID-MK.TXT, but no luck yet.

I would appreciate any help.

-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to