Changeset 169


Ignore:
Timestamp:
Feb 19, 2011, 11:36:21 PM (9 years ago)
Author:
amain
Message:

debian/buildenv: apt-cross now only availabe from lenny. Fixes ticket #84.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/buildenv/debian.mk

    r151 r169  
    8989debian/buildenv/emdebian-prepare: debian/buildenv/prepare
    9090        sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_EMDEBIAN_BUILDENV_REPOSITORY)) $(EMDEBIAN_RELEASE) main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
    91 ifeq ($(DEBIAN_BUILD_VERSION),sid)
     91        # Add lenny repo, just for apt-cross
     92        sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_DEBIAN_BUILDENV_REPOSITORY)) lenny main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
     93        #sudo bash -c "echo -e \"Package: *\nPin: release a=lenny\nPin-Priority: 200\" > $(DEBIAN_BUILD_DIR)/etc/apt/preferences"
    9294        sudo chroot $(DEBIAN_BUILD_DIR) apt-get update
    93         sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install build-essential debootstrap fakeroot zlib1g-dev dh-make openssh-client dpkg-cross apt-cross vim pkg-config dpatch libncurses5-dev devscripts subversion automake gcc-multilib g++-multilib"
    94 else
    95         sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_DEBIAN_BUILDENV_REPOSITORY)) sid main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
    96         sudo bash -c "echo -e \"Package: *\nPin: release a=sid\nPin-Priority: 200\" > $(DEBIAN_BUILD_DIR)/etc/apt/preferences"
    97         sudo chroot $(DEBIAN_BUILD_DIR) apt-get update
    98         sudo chroot $(DEBIAN_BUILD_DIR) apt-get -y install -t sid apt-cross libmpfr1ldbl
     95        sudo chroot $(DEBIAN_BUILD_DIR) apt-get -y install apt-cross
     96        sudo chroot $(DEBIAN_BUILD_DIR) apt-get -y install libmpfr1ldbl
    9997        sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install build-essential debootstrap fakeroot zlib1g-dev dh-make openssh-client dpkg-cross vim pkg-config dpatch libncurses5-dev devscripts subversion automake gcc-multilib g++-multilib"
    100 endif
    10198        sudo chroot $(DEBIAN_BUILD_DIR) bash -c "export LC_ALL=C; apt-get -y --force-yes install libc6-$(TARGET_ARCH)-cross libc6-dev-$(TARGET_ARCH)-cross binutils-$(TARGET_ARCH)-linux-gnu gcc-4.3-$(TARGET_ARCH)-linux-gnu g++-4.3-$(TARGET_ARCH)-linux-gnu linux-kernel-headers-$(TARGET_ARCH)-cross"
    10299        touch $@
Note: See TracChangeset for help on using the changeset viewer.