Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12382

how to invoke perl script in mk file

$
0
0

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


Viewing all articles
Browse latest Browse all 12382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>