Re: [OpenWrt-Devel] Problems building glib

2008-06-01 Thread Nico
Michael Geddes wrote:
 There's some weirdness in the Makefile I just don't understand (snippet 
 below).

 What on earth is this trying to achieve!? Doing a make install clean in 
 the 'Configure'  target seems a rather strange thing to be doing.

 I might just see if I can not compile this.

 //.ichael G


 --8---
 define Build/Configure
   mkdir -p $(PKG_BUILD_DIR)/build/$(GNU_HOST_NAME)
   ( cd $(PKG_BUILD_DIR); CONFIG_SITE= \
   ./configure \
   --target=$(GNU_HOST_NAME) \
   --host=$(GNU_HOST_NAME) \
   --build=$(GNU_HOST_NAME) \
   --prefix=$(PKG_BUILD_DIR)/build/$(GNU_HOST_NAME) \
   --disable-shared \
   --enable-static \
   --enable-debug=no \
   );
   $(MAKE) -C $(PKG_BUILD_DIR) install clean

   $(call Build/Configure/Default, \
   --enable-shared \
   --enable-static \
   --enable-debug=no \
   , \
   CPPFLAGS=CPPFLAGS 
 -I$(STAGING_DIR)/usr/lib/libiconv/include \
   CPPFLAGS=CPPFLAGS 
 -I$(STAGING_DIR)/usr/lib/libintl/include \
   LDFLAGS=LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib \
   LDFLAGS=LDFLAGS -L$(STAGING_DIR)/usr/lib/libintl/lib \
   glib_cv_stack_grows=no \
   glib_cv_uscore=no \
   
 ac_cv_path_GLIB_GENMARSHAL=$(PKG_BUILD_DIR)/build/$(GNU_HOST_NAME)/bin/glib-genmarshal
  
 \
   );
 endef
 -8-
   
The build is done in 2 passes, it first builds glib for the host to have
a  'glib-genmarshal' utility working on the host system, and then it
builds glib for the target, telling configure to use the
'glib-genmarshal' that was just built before.

--
Nico


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Problems building glib

2008-06-01 Thread Michael Geddes
  );
  endef
  -8-

 The build is done in 2 passes, it first builds glib for the host to have
 a  'glib-genmarshal' utility working on the host system, and then it
 builds glib for the target, telling configure to use the
 'glib-genmarshal' that was just built before.

 --
 Nico

AH.

So I wonder if it's the host or the target that fails the test compile?

//.ichael
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] update lcd4linux (update) *fixed*

2008-06-01 Thread John Crispin
package dependency seems to be broken (you need to select X) does 
not reeally replace DEPENDS:=+X


also on a quick test compiling HD44780 driver fails



[EMAIL PROTECTED] wrote:
 sorry, I messed up the previous patch, this one is tested
 
 
 Signed-off-by: Michael Vogt michu at neophob.com
 
 updated patch for lcd4linux

 Signed-off-by: Michael Vogt michu at neophob.com
 
 
 
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] What is the correct way of submit packages

2008-06-01 Thread joerg jungermann
Hi !

I'd like to ask how is the correct way to submit new packages for the
feeds repository.

I do this because i've sent some patches via this mailing list, and they
are not added yet. I received no comments. Its about the isdnutils and
asterisk14_chan_capi patches.

I can only guess why this so, i think because of some troubles in
building these packages or some formal failures.

But I don't know if know one tells.

bye
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] update libnfnetlink to 0.0.38

2008-06-01 Thread Fabian Hugelshofer
Updates libnfnetlink from 0.0.30 to the current version 0.0.38.

Signed-off-by: Fabian Hugelshofer [EMAIL PROTECTED]

Index: libs/libnfnetlink/Makefile
===
--- libs/libnfnetlink/Makefile  (revision 11319)
+++ libs/libnfnetlink/Makefile  (working copy)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libnfnetlink
-PKG_VERSION:=0.0.30
+PKG_VERSION:=0.0.38
 PKG_RELEASE:=0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.netfilter.org/pub/libnfnetlink/
-PKG_MD5SUM:=7fd3c8ddc03d42fa9f0177a17a38f163
+PKG_MD5SUM:=014aa52e39f2b8f296a307ba712ba3c1
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] brcm63xx: add image generation for many boards

2008-06-01 Thread Axel Gembe
This adds image generation for the following boards to the brcm63xx target:

BCM96335: 96335(R)
BCM96338: 96338(L-2M-8M|SV)
BCM96345: 96345(R|R0|RS|GW)
BCM96348: 96348(R|GW|GW-10|GW-11|GW-DualDSP|SV|LV)

The problem is that CFE checks for a matching board id before executing the
image, even if the image would run on all the devices using runtime detection.
We either need some kind of way to either patch CFE or find some loophole in it.
Otherwise we have to add every board id by hand, which wastes lots of space in
the image Makefile as well as on the filesystem for the generated images.
We also need a way to handle the flash block size for the generated image, but 
so
far I only had boards with a 64k erase block size.

Signed-off-by: Axel Gembe [EMAIL PROTECTED]
---
 target/linux/brcm63xx/image/Makefile |   18 ++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 47c1df7..bb91310 100644
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -72,7 +72,25 @@ endef
 
 define Image/Build
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f 
$(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f 
$(KDIR)/root.$(1)
+   # 6335 devices
+   $(call Image/Build/CFE,$(1),96335R,6335)
+   # 6338 devices
+   $(call Image/Build/CFE,$(1),96338L-2M-8M,6338)
+   $(call Image/Build/CFE,$(1),96338SV,6338)
+   # 6345 devices
+   $(call Image/Build/CFE,$(1),96345GW,6345)
$(call Image/Build/CFE,$(1),96345GW2,6345)
+   $(call Image/Build/CFE,$(1),96345R,6345)
+   $(call Image/Build/CFE,$(1),96345R0,6345)
+   $(call Image/Build/CFE,$(1),96345RS,6345)
+   # 6348 devices
+   $(call Image/Build/CFE,$(1),96348GW,6348)
+   $(call Image/Build/CFE,$(1),96348GW-10,6348)
+   $(call Image/Build/CFE,$(1),96348GW-11,6348)
+   $(call Image/Build/CFE,$(1),96348GW-DualDSP,6348)
+   $(call Image/Build/CFE,$(1),96348LV,6348)
+   $(call Image/Build/CFE,$(1),96348R,6348)
+   $(call Image/Build/CFE,$(1),96348SV,6348)
 endef
 
 $(eval $(call BuildImage))
-- 
1.5.5.1

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel