]> git.ipfire.org Git - thirdparty/pciutils.git/commit - Makefile
Better support for cross-compiling.
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sun, 9 Nov 2008 19:44:21 +0000 (20:44 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 9 Nov 2008 19:45:03 +0000 (20:45 +0100)
commitf683f54af2473c958a945cd69da03c44e2601a52
tree62aba2aa842dcff4189a91345d02faeafaafb301
parentacbd2e055b65aefd2c96d258c42f6ae4cd573096
Better support for cross-compiling.

It is difficult to cross compile pciutils, as the host is not standard 3 or 4 components and one need to pass all tools cross compile prefixes.

The attached patch makes it easier:

1. Add CROSS_COMPILE prefix for all toolchain tools. I also changed default CC
   to gcc, I can fix this if you like.

2. Allow parsing standard HOST, such as i686-pc-linux-gnu.

3. Make rel be RELEASE, maybe the whole release thing can be removed as it is
   not actually used.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Makefile
lib/configure