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/package/debwrt-kernel-headers/debian/rules

    r52 r54  
    4848        dh_installdirs
    4949        mkdir -p $(DESTDIR)/usr/src/
    50         cp -ra linux-headers-* $(DESTDIR)/usr/src/
    51         ln -s linux-headers-* $(DESTDIR)/usr/src/linux
     50        tar xzf $(KERNEL_HEADERS_TAR_GZ) -C $(DESTDIR)/usr/src/ --strip 3
     51        bash -c "cd $(DESTDIR)/usr/src/; ln -s linux-headers-* $(DESTDIR)/usr/src/linux"
    5252
    5353        # to make kernel headers: make ARCH=mips menuconfig
Note: See TracChangeset for help on using the changeset viewer.