From fbb7da477261a067da6fefb0d87f6370e0339e75 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Jan 2014 12:07:13 +0100 Subject: [PATCH] common/cross-profiles: add a simple README. --- common/cross-profiles/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 common/cross-profiles/README diff --git a/common/cross-profiles/README b/common/cross-profiles/README new file mode 100644 index 00000000000..a9c0a13f417 --- /dev/null +++ b/common/cross-profiles/README @@ -0,0 +1,14 @@ +CROSS PROFILES +============== + +This directory contains cross profiles to allow cross compilation for the specified target. +A cross profile file must provide the following variables: + + - XBPS_TARGET_ARCH (as returned by uname -m) + - XBPS_CROSS_TRIPLET (the cross compiler triplet) + - XBPS_CFLAGS (C compiler flags for host compiler) + - XBPS_CXXFLAGS (C++ compiler flags for the host compiler) + - XBPS_CROSS_CFLAGS (C compiler flags for the cross compiler) + - XBPS_CROSS_CXXFLAGS (C++ compiler flags for the cross compiler) + +A source package matching `cross-${XBPS_CROSS_TRIPLET}' must also exist.