> I need to run a shell command from my Android.mk after a static
> library is compiled. My current Android.mk looks like this:
> LOCAL_PATH := $(call my-dir)/../../
> include $(CLEAR_VARS)
> LOCAL_MODULE := MyLib
> LOCAL_SRC_FILES := MyLib.cpp
> LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
> LOCAL_ARM_MODE := arm
> include $(BUILD_STATIC_LIBRARY)
> BUILD_PRODUCTS_DIR := $(call my-dir)/obj/local/$(TARGET_ARCH_ABI)
> $(shell arm-eabi-strip -s $(LOCAL_PATH)/SymbolsToExport.txt $
> However, this runs the shell command (arm-eabi-strip) *before* the
> library is built. How do I get it to do call a shell command *after*
> the library is built? Bear in mind I'm a makefile n00b.
> Thanks for your time!