Commit Graph

13 Commits

Author SHA1 Message Date
Juan RP
e28fd4e11a Move templates/helpers to the top level directory.
--HG--
extra : convert_revision : 26eaed6f14f4794f85048f0a50e09c94e27a6be6
2009-10-12 22:37:23 +02:00
Juan RP
23fa45a18b Reorganize the tree for easier and better handling.
- Template helpers have been moved to templates/helpers.
- Documentation to docs/.
- Common scripts have been moved to utils/sh.
- Fixed install-destdir when executed via chroot.
- Added a build-pkg target that builds a binary package.
  The package must be installed into destdir before using.
- Misc tweaks and fixes.

--HG--
extra : convert_revision : 0896e8f24bb7592116aaf77ae9c776033818a3d8
2008-12-13 03:01:24 +01:00
Juan RP
8373117030 Another checkpoint in progress for binpkgs.
--HG--
extra : convert_revision : 38f4a4106a2d61757e1feacaec5eaef01f812d59
2008-12-12 18:12:45 +01:00
Juan RP
ad20e91144 Do not use --host/build in GNU configure scripts by default.
--HG--
extra : convert_revision : c0125387213850e66e0c6e0b2a720b19a5798fb2
2008-11-05 03:04:46 +01:00
Juan RP
c5389d7521 mktoolchain: do not assume CROSS_HOST.
--HG--
extra : convert_revision : 11c290fdc674223e737fbab4ba521080aab47d49
2008-11-05 03:04:17 +01:00
Juan RP
8ecff4f092 cross-compilation: also force GCC to target's gcc.
--HG--
extra : convert_revision : 55dcefd3fc1c49fd003876f15d3ec0d70ab49844
2008-11-05 01:06:38 +01:00
pancake
2fde13b869 * Fix path to gcc for mktoolchain
--HG--
extra : convert_revision : 4a333c50d906e64243aa826da1b7cae59ddd5bdb
2008-11-03 12:16:04 +01:00
Juan RP
5e64daeed6 chroot: rmdir xbps_crossdir while exiting.
--HG--
extra : convert_revision : 734fef927ce93ce24c605025501318002fa56267
2008-11-03 10:33:54 +01:00
Juan RP
9b1c29e19b glibc: add 32 dynamic linker to ldd on x86_64.
replace_interpreter: don't look at $wrksrc.

--HG--
extra : convert_revision : ba36faca11a84e42a6cbd418be90cbd443a5ee4e
2008-11-03 10:32:36 +01:00
Juan RP
d15b7887e7 Added support for cross compiling packages on x86_64.
Two new options for the configuration file were added:
 * XBPS_CROSS_TARGET
 * XBPS_CROSS_DIR

XBPS_CROSS_TARGET should be set to the target triplet that you build
with the mktoolchain script.

XBPS_CROSS_DIR should point to the cross directory that mktoolchain
created if you've built one.

As proof of concept the glibc32 package has been added for x86_64,
and it works perfectly even in the chroot! with glibc32 in place
that means that I can build a gcc multilib and use -m32 to build
32bit packages! OH YEAH I LOVE THAT SHIT!!!!

--HG--
extra : convert_revision : 6b0008865e084674a1c4b58266f681871e519c66
2008-11-03 07:12:53 +01:00
Juan RP
1ae9019da2 mktoolchain: added new flags to specify dirs and misc stuff.
--HG--
extra : convert_revision : f5f9eb9aa5cedf41c1a99b862d31e5a8368b6e8b
2008-11-03 00:29:33 +01:00
Juan RP
af67e8f905 Added a new script: mktoolchain.sh.
This will build you a cross toolchain from scratch; currently it's
only working for x86 targets, but should be easy to change it for
other targets.

--HG--
extra : convert_revision : 6ffd8f60b67606bc2068f29d86377e6fc9bab753
2008-11-02 23:09:47 +01:00
Juan RP
5bb36505b1 Rename helper-templates to just helpers.
--HG--
extra : convert_revision : cbaa30da99805accbe250d8dee5494c78cb93291
2008-10-30 23:34:05 +01:00