From: Matthias Klose Date: Sun, 15 Aug 2021 14:51:18 +0000 (+0100) Subject: Import binutils_2.37-4.debian.tar.xz X-Git-Tag: archive/raspbian/2.37-4+rpi1^2~24^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2d58560bbe68997866c003864ab101d960b0bfd2;p=binutils.git Import binutils_2.37-4.debian.tar.xz [dgit import tarball binutils 2.37-4 binutils_2.37-4.debian.tar.xz] --- 2d58560bbe68997866c003864ab101d960b0bfd2 diff --git a/README.cross b/README.cross new file mode 100644 index 000000000..ea184f84f --- /dev/null +++ b/README.cross @@ -0,0 +1,38 @@ +Cross-binutils debian packages are directly built from the binutils +source package together with the native binutils packages. + +To build a cross-binutils package which is not yet built: + + o Download and unpack the binutils source package: + + apt-get source binutils + + o Ensure you have the binutils build-dependencies installed: + + apt-get build-dep binutils + + o Add the binutils- package to the control file: + + rm -f stamps/control + debian/rules stamps/control TARGET= + + This change is permanent and will survive 'make clean'. If you + need to restore the original debian/control file: + + rm -f stamps/control + debian/rules stamps/control TARGET= + + o Then build the cross-binutils package: + + TARGET= dpkg-buildpackage -b -uc -us + or + echo arm >debian/target; dpkg-buildpackage -b -uc -us + + (substitute your target name, e.g. "arm" or "m68k", instead of + "") + +-- +Hector Oron +Marcin Juszkiewicz +Matthias Klose +Nikita Youshchenko diff --git a/README.source b/README.source new file mode 100644 index 000000000..ca8bc0722 --- /dev/null +++ b/README.source @@ -0,0 +1,16 @@ +This source package builds native packages and packages targeting +debian architectures. To shorten a test build, some of these builds +can be skipped. + +DEB_BUILD_OPTIONS="parallel=