Ignore:
Timestamp:
Jul 11, 2010, 7:14:26 PM (10 years ago)
Author:
amain
Message:

Make debwrt-kernel-headers auto use compiled openwrt kernel-headers or if not the default in the svn repo

File:
1 edited

Legend:

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

    r52 r54  
    5454        sudo bash -c "echo 127.0.0.1 `hostname -s` >$(DEBIAN_BUILD_DIR)/etc/hosts"
    5555        sudo bash -c "echo \"$(USER) ALL=(ALL) NOPASSWD: ALL\" >$(DEBIAN_BUILD_DIR)/etc/sudoers"
    56         sudo bash -c "echo debwrt > $(DEBIAN_BUILD_DIR)/etc/debian_chroot"
     56        sudo bash -c "echo debwrt-$(call qstrip,$(CONFIG_ARCH))-$(DEBIAN_BUILD_VERSION) > $(DEBIAN_BUILD_DIR)/etc/debian_chroot"
    5757        sudo bash -c "echo syntax on >$(DEBIAN_BUILD_DIR)/etc/vimrc"
    5858        sudo bash -c "echo 0 > /proc/sys/vm/mmap_min_addr" # for ARM targets
     
    7878# apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi
    7979# will install the gcc-4.3 C and C++ toolchain for armel cross-compiling.
     80#
     81# Use emdebian stable/lenny cross compiler. Unstable seems to be broken now for a long time
     82#EMDEBIAN_RELEASE:=$(DEBIAN_BUILD_VERSION)
     83EMDEBIAN_RELEASE:=stable
     84
     85# note: to speed up setting up: do not install devscripts
     86# note: a mailservers seems to be installed and started: bad - needs removal
    8087debian/buildenv/emdebian-prepare: debian/buildenv/prepare
    81         sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_EMDEBIAN_BUILDENV_REPOSITORY)) $(DEBIAN_BUILD_VERSION) main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
     88        sudo bash -c "echo \"deb $(call qstrip,$(CONFIG_EMDEBIAN_BUILDENV_REPOSITORY)) $(EMDEBIAN_RELEASE) main\" >> $(DEBIAN_BUILD_DIR)/etc/apt/sources.list"
    8289        sudo chroot $(DEBIAN_BUILD_DIR) apt-get update
    8390        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 sudo openssh-client dpkg-cross apt-cross vim pkg-config dpatch libncurses5-dev devscripts"
Note: See TracChangeset for help on using the changeset viewer.