Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-11 | ["CC/foreign/shell", "data"] honor shell toolchain | Klaus Aehlig | |
2024-06-11 | foreign rules: fix computation of absolute paths | Klaus Aehlig | |
When setting CC, etc, in foreign rules, it is often useful to have it set as absolute path. This originally was achieved using realpath(1). This, however, implies that symbolic links are followed as well, which confuses some compilers if they are not called with correct argv[0]. Therefore, 4e86f756bddca8db402502be47c0825e1e2aeb0d tries to replace this by concatenation with $(pwd), which, however, is only correct for tools brought locally by the toolchain. Hence fix the test by not evaluating it in the shell at all and rather using the knowledge about toolchain versus system tools that the rules have anyway. | |||
2023-11-30 | CC/foreign/shell rules: avoid empty path segment | Klaus Aehlig | |
... and hence accidentally picking up executables from the current working directory. | |||
2023-11-20 | foreign: Implement shell library | Oliver Reiche | |
2023-11-20 | foreign: Only resolve symlinks on user request | Oliver Reiche | |
2023-11-20 | foreign: Do not follow symlinks of tool paths | Oliver Reiche | |
2023-08-30 | foreign: Implement 'expand_exec' via POSIX shell | Oliver Reiche | |
... and coreutils by default. This has the advantage that no C compiler and no specific toolchain definition is required to build rule-internal tools. 'expand_exec' is provided via an implicit target with proper config transition for host, so it could be overwritten by the rule user. The C code of the previous implementation is still kept as an example. | |||
2023-08-25 | foreign: Add support for ["foreign/CC/shell", "data"] | Oliver Reiche | |