TARGET_ROOT_OUT_SBIN would put that executable in <PRODUCT_OUT>/root/sbin,
which is the root ramdisk, not the system partition. There isn't a
/system/sbin, we just put everything in /system/bin.

- Dan

On Sat, Feb 18, 2017 at 8:15 AM 'Ryan Philips' via Android Building <
android-building@googlegroups.com> wrote:

> Hi,
>
> I am trying to build a test source. I have created an external/mytest
> directory and the following in Android.mk
>
> include $(CLEAR_VARS)
> LOCAL_SRC_FILES := testextspi.c
> LOCAL_MODULE    := testextspi
> LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
> LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
> include $(BUILD_EXECUTABLE)
>
>
> The problem is it builds and create obj files and creates the binary
> inside "<PRODUCT_OUT>./symbols/system/sbin/"
> But it does not create the same binary in /system/bin in the filesystem.
> which is <PRODUCT_OUT>/system/sbin/
>
> I am not sure what i am missing here..
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to