projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mise à jour pour ordinateur de Karine, ajout d'optins pour installer sélectivement...
[hvlinux.git]
/
stage0
/
pkg
/
binutils
diff --git
a/stage0/pkg/binutils
b/stage0/pkg/binutils
index
209859b
..
443714d
100644
(file)
--- a/
stage0/pkg/binutils
+++ b/
stage0/pkg/binutils
@@
-1,20
+1,36
@@
#!/bin/bash
#!/bin/bash
-
configure
_pre()
+
hvconfig
_pre()
{
{
+ export AR=ar
+ export AS=as
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --host=${CLFS_HOST} \
+ --target=${CLFS_TARGET} \
+ --with-sysroot=${CLFS} \
+ --with-lib-path=/tools/lib \
+ --disable-nls \
+ --enable-shared \
+ --disable-multilib"
+
case "${HVL_TARGET}" in
"x86_64")
# This adds 64 bit support to Binutils.
CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
;;
esac
case "${HVL_TARGET}" in
"x86_64")
# This adds 64 bit support to Binutils.
CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
;;
esac
-
}
}
-hv
build
()
+hv
config_post
()
{
{
+ unset AR
+ unset AS
${HVMAKE} configure-host
${HVMAKE} configure-host
- ${HVMAKE}
- ${HVMAKE} install
+}
+
+hvbuild_post()
+{
cp -v ../${PACKAGE}/include/libiberty.h /tools/include
}
cp -v ../${PACKAGE}/include/libiberty.h /tools/include
}