-Now using a single file for all custom definitions and functions for each package.
[hvlinux.git] / stage1 / pkg / binutils
diff --git a/stage1/pkg/binutils b/stage1/pkg/binutils
new file mode 100644 (file)
index 0000000..9f34be4
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+configure_pre()
+{
+    case "${HVL_TARGET}" in
+        "x86_64")
+            # This adds 64 bit support to Binutils.
+           CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
+           ;;
+    esac
+}
+
+hvbuild()
+{
+    ${HVMAKE} configure-host
+    ${HVMAKE}
+    ${HVMAKE} install
+}