[isf-wifidog] Experimental Build of OpenWRT breaks rules script

Philippe April isf_lists at philippeapril.com
Dim 27 Fév 01:24:23 EST 2005


I'll take a look real soon.

We don't need to depend on the ipkg-utils suite, it just makes life
easier, but an ipkg is just a tarball with some tarballs inside and the
control info. We could package it manually.

Thank you :) I'll compile the new buildroot and see how far I get and
all.

On Sat, Feb 26, 2005 at 04:49:58PM -0800, Joe Bowser wrote:
> 
> Hey
> 
> The folks at OpenWRT decided to release an experimental buildroot to 
> apease the users, and thus made it so that the rules make script is 
> broken.  So, I decided to try and fix it and send a patch to the list to 
> disect.
> 
> However, it requires the host computer to have a copy of ipkg utilities 
> installed on it, and that can be downloaded at:
> 
> ftp://ftp.handhelds.org/packages/ipkg-utils
> 
> I'm probably going to test this out on a 2.2 later today and see if I can 
> get it working.  I really like the menuconfig in the new version.
> 
> -- 
> -----------------------------------------------------------
> Joe Bowser - bowserj at unbc.ca

> --- /home/bowserj/wifidog/wifidog/ipkg/rules	2005-02-04 06:10:56.000000000 -0800
> +++ rules	2005-02-26 16:42:46.879140272 -0800
> @@ -16,8 +16,12 @@
>  STAGING_DIR=$(BUILDROOT)/build_$(ARCH)/staging_dir
>  IPKG_DIR := $(wildcard $(BUILDROOT)/build_$(ARCH)/ipkg-utils-*/)
>  IPTABLES_DIR := $(wildcard $(BUILDROOT)/build_$(ARCH)/iptables-*/)
> -KERNEL_VERSION := $(shell awk '$$1 == "\#define" && $$2 == "UTS_RELEASE" {gsub(/["]/, "", $$3); print $$3}' $(BUILDROOT)/build_$(ARCH)/WRT54GS/release/src/linux/linux/include/linux/version.h)
> -KERNEL_MODULES_DIR := $(BUILDROOT)/build_$(ARCH)/WRT54GS/release/src/linux/linux/modules/lib/modules/$(KERNEL_VERSION)
> +
> +# With the experimental build, we have to change this script to use 2.4.29
> +KERNEL_VERSION := $(shell awk '$$1 == "\#define" && $$2 == "UTS_RELEASE" {gsub(/["]/, "", $$3); print $$3}' $(BUILDROOT)/build_$(ARCH)/linux-2.4.29/include/linux/version.h)
> +KERNEL_MODULES_DIR := $(BUILDROOT)/build_$(ARCH)/modules/lib/modules/$(KERNEL_VERSION)
> +
> +
>  UCLIBC_DIR := $(wildcard $(BUILDROOT)/build_$(ARCH)/uClibc*/)
>  
>  GNU_TARGET_NAME=$(ARCH)-linux
> @@ -28,8 +32,11 @@
>  AR=$(TARGET_CROSS)ar
>  RANLIB=$(TARGET_CROSS)ranlib
>  STRIP=$(TARGET_CROSS)strip
> -IPKG_BUILD=$(STAGING_DIR)/bin/ipkg-build
>  
> +# You need ipkg-build installed
> +# 
> +# IPKG_BUILD=$(STAGING_DIR)/bin/ipkg-build
> +IPKG_BUILD=/usr/local/bin/ipkg-build
>  all: binary
>  
>  build: build-wifidog build-iptables build-ipkg-utils

> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog

-- 
Philippe April
GnuPG: http://key.philippeapril.com/
Skype ID: mousetrap


Plus d'informations sur la liste de diffusion WiFiDog