Diff of /trunk/wharfie/wharfie.mk [r31] .. [r32]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/wharfie/wharfie.mk
+++ b/trunk/wharfie/wharfie.mk
@@ -97,6 +97,21 @@
 	echo LIBC_POSTFIX=-armel-cross >> debian_version.mk
 
 #
+# Debian / ARM64
+#
+.PHONY: debian_armel_%.tar
+debian_arm64_%.tar: 
+	-mkdir ./$$(basename $@ .tar)
+	${SUDO} ${DBOOTSTRAP} --arch=arm64 --variant=minbase --include="${PACKAGES}" $* ./$$(basename $@ .tar) http://ftp.debian.org/debian/
+	(echo "deb http://ftp.debian.org/debian $* main"; \
+	 echo "deb-src http://ftp.debian.org/debian $* main") | ${SUDO} tee ./$$(basename $@ .tar)/etc/apt/sources.list
+	cd $$(basename $@ .tar); ${SUDO} tar -cf "../$@" .
+	${SUDO} rm -R ./$$(basename $@ .tar)
+	echo DEBIAN_VERSION=$* > debian_version.mk
+	echo GCC_POSTFIX=-arm-none-eabi >> debian_version.mk
+	echo LIBC_POSTFIX=-arm64-cross >> debian_version.mk
+
+#
 # Debian x86/amd64...
 # extended for debian_{amd64,i386}_{deb_version}.tar
 # or old format "debian_{deb_version}.tar"
@@ -126,7 +141,7 @@
 .PHONY: make_toolchain
 make_toolchain:
 	-mkdir ./debian_toolchain
-	${SUDO} ${DBOOTSTRAP} --arch=amd64 --variant=minbase --include="${ADDITIONAL_TOOLCHAIN_PACKAGES} gcc${GCC_POSTFIX} g++${GCC_POSTFIX} libc6-dev${LIBC_POSTFIX}" ${DEBIAN_VERSION} ./debian_toolchain http://ftp.debian.org/debian/
+	${SUDO} ${DBOOTSTRAP} --arch=amd64 --variant=minbase --include="${ADDITIONAL_TOOLCHAIN_PACKAGES} gcc${GCC_POSTFIX} libc6-dev${LIBC_POSTFIX}" ${DEBIAN_VERSION} ./debian_toolchain http://ftp.debian.org/debian/
 	${SUDO} chroot ./debian_toolchain ldconfig
 	cd debian_toolchain && ${SUDO} tar -cf "../debian_toolchain.tar" .
 	${SUDO} rm -R ./debian_toolchain