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

Joe Bowser bowserj at unbc.ca
Sam 26 Fév 19:49:58 EST 2005


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
-------------- section suivante --------------
--- /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


Plus d'informations sur la liste de diffusion WiFiDog