Skip to content

Allow easy cross-compiling#21

Open
giuliobenetti wants to merge 2 commits intobootlin:masterfrom
Benetti-Engineering:dev/add-cross-compile
Open

Allow easy cross-compiling#21
giuliobenetti wants to merge 2 commits intobootlin:masterfrom
Benetti-Engineering:dev/add-cross-compile

Conversation

@giuliobenetti
Copy link

Allow to override CC and PKG_CONFIG

When cross-compiling we need to specify a compiler different from "gcc".
So let's make possible to override CC while calling make like:
```
CC=arm-linux-gcc make
```

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
When cross-compiling we need to specify a pkg-config different from host
pkg-config. So let's make possible to override CC while calling make like:
```
PKG_CONFIG=/path/path/pkg-config make
```

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments