toolchain/crosstool-NG: use the package infrastructure
PATCH 1/1 toolchain/crosstool-NG: use the package infrastructure
Move crosstool-NG to package/ and make it an autotarget package. This requires a new patch (now upstream).
Now, the crosstool-NG toolchain backend only contains enough to build the toolchain, there's no more reference to building crosstool-NG as a package.
--- .../crosstool-ng/crosstool-ng-001-no-cvs.patch | 0 ...-break-on-existing-symlinks-and-build.log.patch | 0 .../crosstool-ng-003-autostuf-compat.patch | 10 ++++ package/crosstool-ng/crosstool-ng.mk | 9 +++ toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 57 ++++---------------- 5 files changed, 30 insertions(+), 46 deletions(-) rename toolchain/toolchain-crosstool-ng/001-no-cvs.patch => package/crosstool-ng/crosstool-ng-001-no-cvs.patch (100%) rename toolchain/toolchain-crosstool-ng/002-dont-break-on-existing-symlinks-and-build.log.patch => package/crosstool-ng/crosstool-ng-002-dont-break-on-existing-symlinks-and-build.log.patch (100%) create mode 100644 package/crosstool-ng/crosstool-ng-003-autostuf-compat.patch create mode 100644 package/crosstool-ng/crosstool-ng.mk
package/crosstool-ng/crosstool-ng-001-no-cvs.patch renamed from toolchain/toolchain-crosstool-ng/001-no-cvs.patch +0 -0
package/crosstool-ng/crosstool-ng-002-dont-break-on-existing-symlinks-and-build.log.patch renamed from toolchain/toolchain-crosstool-ng/002-dont-break-on-existing-symlinks-and-build.log.patch +0 -0
package/crosstool-ng/crosstool-ng-003-autostuf-compat.patch new file +10 -0
@@ -0,0 +1,10 @@ +--- crosstool-ng-1.11.3/configure 2011-05-21 01:10:10.000000000 +0200 ++++ host-crosstool-ng-1.11.3/configure 2011-07-14 17:35:25.830403914 +0200 +@@ -260,6 +260,7 @@ + # Skip, auto-stuff compatibility + --build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|--localstatedir=*) shift;; + --build|--host|--infodir|--datadir|--sysconfdir|--localstatedir) shift 2;; ++ --enable-shared|--disable-shared|--enable-static|--disable-static) shift;; + *) printf "Unrecognised option: '${1}'\n"; do_help; exit 1;; + esac + done
package/crosstool-ng/crosstool-ng.mk new file +9 -0
@@ -0,0 +1,9 @@ +CROSSTOOL_NG_VERSION = 1.11.3 +CROSSTOOL_NG_SOURCE = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2 +CROSSTOOL_NG_SITE = http://crosstool-ng.org/download/crosstool-ng/ +CROSSTOOL_NG_INSTALL_STAGING = NO +CROSSTOOL_NG_INSTALL_TARGET = NO +CROSSTOOL_NG_MAKE = $(MAKE1) +HOST_CROSSTOOL_NG_DEPENDENCIES = host-gawk host-automake $(if $(BR2_CCACHE),host-ccache) + +$(eval $(call AUTOTARGETS,package,crosstool-ng,host))
toolchain/toolchain-crosstool-ng/crosstool-ng.mk +11 -46
86 lines not on this page · raw message
Signature · 1 line
1.7.2.5
PATCH 1/1 toolchain/crosstool-NG: use the package infrastructure
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Yann> Move crosstool-NG to package/ and make it an autotarget package. Yann> This requires a new patch (now upstream).
Yann> Now, the crosstool-NG toolchain backend only contains enough to build Yann> the toolchain, there's no more reference to building crosstool-NG as Yann> a package.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard