Commit f83e15d6 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem

build: Android.mk run shell commands with $(shell)

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent c0429771
......@@ -11,12 +11,12 @@ ANDROID_PRIVATE_LIBS=$(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)/libstagefright.so
$(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)/libhardware.so
$(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)/%.so: $(ANDROID_PRIVATE_LIBDIR)/%.c
mkdir -p $(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE)
$(shell mkdir -p $(ANDROID_PRIVATE_LIBDIR)/$(TARGET_TUPLE))
$(GEN)clang $< -shared -o $@
$(ANDROID_PRIVATE_LIBDIR)/%.c: $(ANDROID_PRIVATE_LIBDIR)/%.symbols
$(VERBOSE)rm -f $@ && touch $@
$(GEN)for s in `cat $<`; do echo "void $$s() {}" >> $@; done
$(GEN)$(shell for s in `cat $<`; do echo \"void $$s() {}\" >> $@; done)
###########
# libiOMX #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment