-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools/pkginfo: simple tool to dump a package.mk #3472
Conversation
I think you could remove root path /home/neil/projects/pullrequest_repos/LibreELEC.tv/ because I think it is clear everything happen in LE folder. |
I personally would rather leave it as it is, since the script outputs the actual value of PKG_DIR (or whatever) - if we start manipulating variables to make them cosmetically more appealing then they're no longer the actual values being used by the build system. |
But this script tools/pkginfo is for human use or for some scripting? If for human then same path again and again is just useless. But that's just me. |
Yes, it's for human consumption and it outputs the actual values without any mangling - stripping I'm not sure I envisioned this as being some cosmetically attractive tool, to be honest - it's function is to dump the package variables, accurately, so that there's no uncertainty regarding the value a package is using. |
@vpeter4 how does http://ix.io/1HG6 work for you - just make sure |
Looks ok. But as I wrote this should be default output and use argument for full path. |
Hard to know what should be default output as I prefer to see the complete path by default which is what the build system will be using. I guess we'll need to agree to disagree. |
Well, I will probably not use tool much so I can live with it as is. |
It's for dumping the variables by default, if you want pretty print I'll take a patch. :) |
Tool to dump fully evaluated package variables for a specific package. Additional parameters will be interpreted as variable names to be evaluated.
For example: