From b667e7b5ec5f6c772924dfcc0e6d1da8431f7d7d Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Fri, 4 May 2012 14:39:28 +0100 Subject: gator: ubuntu: Add packaging Files and scripts for creating Debian packages for Gator and ARM DS-5 target. Signed-off-by: Jon Medhurst --- tools/gator/debian/rules | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tools/gator/debian/rules (limited to 'tools/gator/debian/rules') diff --git a/tools/gator/debian/rules b/tools/gator/debian/rules new file mode 100755 index 00000000000..c747748ff83 --- /dev/null +++ b/tools/gator/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)- +endif + +export CROSS_COMPILE + +export DH_OPTIONS + +%: + dh $@ -- cgit v1.2.3