Rework sysroot option handling
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 25 Jun 2010 12:28:47 +0000 (14:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 7 Jul 2010 06:14:40 +0000 (08:14 +0200)
commitdc67c7f4dc3b3dbd0c71c2917373deab70f75b7a
tree847b99af08d9dab2e97ee32f00285e94bf6abad8
parentb07030a708293756e25edd6432ed02cc53ff758e
Rework sysroot option handling

The external toolchain and internal toolchain cases both need to use
the --sysroot option, and they have almost identical
LDFLAGS/CFLAGS/CXXFLAGS definition, so we can factorize these
definitions.

Moreover, the --isysroot option is implied by --sysroot so there's no
need to specify both.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in
toolchain/Makefile.in