projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to dbus-1.8.12
[hvlinux.git]
/
stage0
/
pkg
/
binutils
diff --git
a/stage0/pkg/binutils
b/stage0/pkg/binutils
index
6077844
..
2653b0d
100644
(file)
--- a/
stage0/pkg/binutils
+++ b/
stage0/pkg/binutils
@@
-5,11
+5,15
@@
hvconfig_pre()
export AR=ar
export AS=as
export AR=ar
export AS=as
- CONFIGURE_OPTS+=" \
+ # --with-lib-path:
+ # Set to dummy (non-existent) directory to prevent having
+ # host directories list.
+ CONFIGURE_OPTS=" \
+ --prefix=/cross-tools \
--host=${CLFS_HOST} \
--target=${CLFS_TARGET} \
--with-sysroot=${CLFS} \
--host=${CLFS_HOST} \
--target=${CLFS_TARGET} \
--with-sysroot=${CLFS} \
- --with-lib-path=
/tools/lib
\
+ --with-lib-path=
${CLFS}/dummy-directory/
\
--disable-nls \
--enable-shared \
--disable-multilib"
--disable-nls \
--enable-shared \
--disable-multilib"
@@
-27,14
+31,15
@@
hvconfig_pre()
esac
}
esac
}
+hvbuild()
+{
+ ${HVMAKE}
+ ${HVMAKE} install DESTDIR=${CLFS}
+}
+
hvconfig_post()
{
unset AR
unset AS
${HVMAKE} configure-host
}
hvconfig_post()
{
unset AR
unset AS
${HVMAKE} configure-host
}
-
-hvbuild_post()
-{
- cp -v ../${PACKAGE}/include/libiberty.h /tools/include
-}