I try to execute a perl script in a AndroidUboot.mk file using following line
$(PERL) myscript.pl arg1 arg2
but it gives me an error: syntax error near tokon... no matter what i put in script file, it always generate this error, even a plain print command print("hello world"); will result in a syntax error
However, when i try this script in terminal. it works fine So what' s wrong with my code, and how to correctly call perl script in android makefile, or in any other makefile
Thanks