Changeset 660 for branches


Ignore:
Timestamp:
Feb 22, 2015, 3:29:43 AM (5 years ago)
Author:
ehem
Message:

Minor bugfix for building packages that have no architecture specific
portions and therefore don't need dpkg-cross to be run. Also remove one
debugging bit that had been left in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/debian/package-host/shared.mk

    r637 r660  
    4747ifdef build_buildpackage
    4848
    49 $(info build_buildpackage is defined)
    50 
    5149debian/package-host/%/prepare:
    5250        rm -rf   $(DEBIAN_BUILD_DIR)/usr/src/$*
     
    5755debian/package-host/%/build: debian/package-host/%/prepare
    5856        -cd $(DEBIAN_BUILD_DIR)/usr/src/$*/$*; dpkg-buildpackage -a$(TARGET_ARCH) -b
    59         cd $(DEBIAN_BUILD_DIR)/usr/src/$*; dpkg-cross -a $(TARGET_ARCH) -b *_$(TARGET_ARCH).deb
     57        [ -n "`ls $(DEBIAN_BUILD_DIR)/usr/src/$*/*_$(TARGET_ARCH).deb 2>/dev/null`" ] && \
     58        cd $(DEBIAN_BUILD_DIR)/usr/src/$* && dpkg-cross -a $(TARGET_ARCH) -b *_$(TARGET_ARCH).deb
    6059        touch $@
    6160
Note: See TracChangeset for help on using the changeset viewer.