Changeset 52


Ignore:
Timestamp:
Jul 11, 2010, 4:32:04 PM (9 years ago)
Author:
amain
Message:

Fix makefile dependancy problems and include libnl.so in debian package

Location:
debwrt/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/Makefile

    r28 r52  
    1515# You should have received a copy of the GNU General Public License
    1616# along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17
     18# Debuging make file
     19#OLD_SHELL := $(SHELL)
     20#SHELL = $(warning [$@ ($^) ($?)])$(OLD_SHELL)
     21#
     22# make --debug=basic
    1723
    1824TOPDIR:=${CURDIR}
  • debwrt/trunk/debian/buildenv/debian.mk

    r51 r52  
    3939#debian/buildenv/create: debian/buildenv/prepare debian/buildenv/qemu-build debian/buildenv/scratchbox-prepare
    4040debian/buildenv/create: debian/buildenv/prepare debian/buildenv/emdebian-prepare
     41        touch $@
    4142
    4243debian/buildenv/prepare:
  • debwrt/trunk/debian/package/debwrt-kernel-headers/build.mk

    r51 r52  
    1818DEBWRT_KERNEL_HEADERS_VERSION:=2.6.32.14
    1919
    20 debian/package/debwrt-kernel-headers: debian/package/debwrt-kernel-headers/clean debian/package/debwrt-kernel-headers/deliver
     20debian/package/debwrt-kernel-headers: debian/package/debwrt-kernel-headers/deliver
     21        touch $@
    2122
    2223debian/package/debwrt-kernel-headers/deliver: debian/package/debwrt-kernel-headers/build
    2324        mkdir -p ${INSTALL_DIR_DEBIAN_PACKAGES}
    2425        cp -rav $(DEBIAN_BUILD_DIR)/usr/src/debwrt-kernel-headers/*.deb ${INSTALL_DIR_DEBIAN_PACKAGES}
    25         cp -rav $(DEBIAN_BUILD_DIR)/usr/src/debwrt-kernel-headers/*.tar.gz ${INSTALL_DIR_DEBIAN_PACKAGES}
     26        #cp -rav $(DEBIAN_BUILD_DIR)/usr/src/debwrt-kernel-headers/*.tar.gz ${INSTALL_DIR_DEBIAN_PACKAGES}
    2627        cp -rav $(DEBIAN_BUILD_DIR)/usr/src/debwrt-kernel-headers/*.changes ${INSTALL_DIR_DEBIAN_PACKAGES}
    27         cp -rav $(DEBIAN_BUILD_DIR)/usr/src/debwrt-kernel-headers/*.dsc ${INSTALL_DIR_DEBIAN_PACKAGES}
     28        #cp -rav $(DEBIAN_BUILD_DIR)/usr/src/debwrt-kernel-headers/*.dsc ${INSTALL_DIR_DEBIAN_PACKAGES}
    2829        touch $@
    2930
    30 debian/package/debwrt-kernel-headers/build: debian/package/debwrt-kernel-headers/prepare debian/package/libnl/build
     31debian/package/debwrt-kernel-headers/build: debian/package/debwrt-kernel-headers/prepare
    3132        $(CHROOT_USER) bash -c "cd /usr/src/debwrt-kernel-headers; export ARCH=$(TARGET_ARCH); ./debwrt-kernel-headers.sh"
    3233        touch $@
  • debwrt/trunk/debian/package/debwrt-kernel-headers/debian/rules

    r47 r52  
    6262        dh_testroot
    6363        dh_installchangelogs
    64         dh_installdocs
    65         dh_installexamples
     64#       dh_installdocs
     65#       dh_installexamples
    6666#       dh_install
    6767#       dh_installmenu
     
    7575#       dh_installcron
    7676#       dh_installinfo
    77         dh_installman
     77#       dh_installman
    7878        dh_link
    7979        dh_strip
  • debwrt/trunk/debian/package/debwrt-kernel-headers/debwrt-kernel-headers.sh

    r51 r52  
    3636   cd ${BUILD_DIR}
    3737   dch -v ${VERSION}-${RELEASE} -m -t "Automated packet generation"
    38    dpkg-buildpackage -a${ARCH} -rfakeroot
     38   dpkg-buildpackage -a${ARCH} -rfakeroot -b
    3939   find ${BUILD_BASE_DIR} -maxdepth 1 -name "*.deb"  | xargs -r -t -i sudo dpkg-cross -a ${ARCH} -i {} || true
    4040fi
  • debwrt/trunk/debian/package/iw/build.mk

    r51 r52  
    1616# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717
    18 debian/package/iw: debian/package/iw/clean debian/package/iw/deliver
     18debian/package/iw: debian/package/iw/deliver
     19        touch $@
    1920
    2021debian/package/iw/deliver: debian/package/iw/build
     
    2627        touch $@
    2728
    28 debian/package/iw/build: debian/package/iw/prepare debian/package/libnl/build
     29debian/package/iw/build: debian/package/iw/prepare debian/package/libnl
    2930        $(CHROOT_USER) bash -c "cd /usr/src/iw; export ARCH=$(TARGET_ARCH); ./iw.sh"
    3031        touch $@
  • debwrt/trunk/debian/package/libnl/build.mk

    r51 r52  
    1616# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717
    18 debian/package/libnl: debian/package/libnl/clean debian/package/libnl/deliver
     18debian/package/libnl: debian/package/libnl/deliver
     19        touch $@
    1920
    2021debian/package/libnl/deliver: debian/package/libnl/build
     
    2627        touch $@
    2728
    28 debian/package/libnl/build: debian/package/libnl/prepare debian/package/debwrt-kernel-headers/build
     29debian/package/libnl/build: debian/package/libnl/prepare debian/package/debwrt-kernel-headers
     30        #exit 1
    2931        $(CHROOT_USER) bash -c "cd /usr/src/libnl; export ARCH=$(TARGET_ARCH); ./libnl.sh"
    3032        touch $@
  • debwrt/trunk/debian/package/libnl/debian/libnl.install

    r42 r52  
    1 usr/lib/lib*.so.*
     1usr/lib/lib*.so*
  • debwrt/trunk/debian/package/libnl/debian/rules

    r51 r52  
    8686        # Add here commands to install the package into debian/tmp
    8787        $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
    88         ln -s $(CURDIR)/debian/tmp/usr/lib/libnl.so.1 $(CURDIR)/debian/tmp/usr/lib/libnl.so
    89 
     88        #ln -s $(CURDIR)/debian/tmp/usr/lib/libnl.so.1 $(CURDIR)/debian/tmp/usr/lib/libnl.so
    9089
    9190# Build architecture-independent files here.
Note: See TracChangeset for help on using the changeset viewer.