diff options
author | Helge Deller <deller@gmx.de> | 2017-01-21 16:19:43 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-01-21 16:19:43 +0100 |
commit | e143bdf73c3787012ae07b4536429765a6cbf103 (patch) | |
tree | dcf7541660ebb4a2e0d7414cd1c7fb660fdeac71 | |
parent | ba854670ceb1eef2c6cbf2e7297bbaa0e1d2e480 (diff) | |
download | palo-e143bdf73c3787012ae07b4536429765a6cbf103.tar.gz |
Build iplboot on all arches with hppa-cross-gcc
Patch provided by Christoph Biedl <debian.axhn@manchmal.in-ulm.de> via
debian bug report #851792
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 16 | ||||
-rw-r--r-- | ipl/Makefile | 2 |
3 files changed, 5 insertions, 15 deletions
diff --git a/debian/control b/debian/control index a31c4d5..1cf16bf 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: admin Priority: optional Maintainer: Helge Deller <deller@gmx.de> Uploaders: -Build-Depends: debhelper (>= 9), lynx +Build-Depends: debhelper (>= 9), lynx, gcc-hppa-linux-gnu [!hppa], libc6-dev-hppa-cross [!hppa] Standards-Version: 3.9.5 Homepage: http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git Vcs-Browser: http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git diff --git a/debian/rules b/debian/rules index 0b99f7b..b0e123e 100755 --- a/debian/rules +++ b/debian/rules @@ -5,19 +5,9 @@ #export DH_VERBOSE=1 override_dh_auto_clean: - # The palo package source ships with the iplboot binary - # pre-built and regenerates it from hppa assembly code - # when building on hppa machines only. This way, palo - # can also be built on non-hppa build hosts without - # problems using the pre-built iplboot binary. - @if [ `dpkg --print-architecture` = hppa ]; \ - then \ - echo "Regenerating iplboot."; \ - $(MAKE) realclean; \ - $(MAKE) iplboot; \ - else \ - echo "Leaving iplboot in place since we're not building on hppa."; \ - fi + echo "Regenerating iplboot."; \ + $(MAKE) realclean; \ + $(MAKE) iplboot; %: dh $@ diff --git a/ipl/Makefile b/ipl/Makefile index 6b8e105..02f5a8b 100644 --- a/ipl/Makefile +++ b/ipl/Makefile @@ -27,7 +27,7 @@ CROSS_COMPILE := $(call cc-cross-prefix, \ CC = ${CROSS_COMPILE}gcc AR = ar -LD = ld +LD = ${CROSS_COMPILE}ld ifneq ("$(wildcard /etc/debian_version)","") BLDINFO := $(shell echo http://www.parisc-linux.org - `dpkg-parsechangelog -l../debian/changelog -SDate`) |