[OpenWrt-Devel] Controlling package architecture

2013-05-18 Thread jonsm...@gmail.com
My packages are getting built with the architecture ramips_24kec. A normal downloaded package is simply built for ramips. What controls this? How to I switch to the ramips architecture. My target CPU is a rt5350 but nothing in the package should be specific to that CPU. -- Jon Smirl jonsm...@gm

Re: [OpenWrt-Devel] Renaming a package during compilation

2013-05-18 Thread jonsm...@gmail.com
Thanks - PKG_BUILD_DIR was what I needed. This snippet does what I needed. It lets me make a avr-binutils package when the source has the root binutils directory embedded in it. PKG_NAME:=avr-binutils PKG_VERSION:=2.20.1 PKG_REV:=a PKG_SOURCE:=binutils-$(PKG_VERSION)$(PKG_REV).tar.bz2 PKG_SOURCE

Re: [OpenWrt-Devel] Renaming a package during compilation

2013-05-18 Thread Sergey Ryazanov
2013/5/18 jonsm...@gmail.com : > So PKG_SOURCE_SUBDIR is not the feature I am looking for. I'm trying > to figure out how to make my package name end up different that the > name inside the source zip. > > In this case source zip has binutils-2.20.1a > I want to name the project avr-binutils. > >

Re: [OpenWrt-Devel] Renaming a package during compilation

2013-05-18 Thread jonsm...@gmail.com
So PKG_SOURCE_SUBDIR is not the feature I am looking for. I'm trying to figure out how to make my package name end up different that the name inside the source zip. In this case source zip has binutils-2.20.1a I want to name the project avr-binutils. The problem here is that binutils can be comp

Re: [OpenWrt-Devel] Renaming a package during compilation

2013-05-18 Thread Mirko Vogt
On 05/17/2013 09:25 PM, jonsm...@gmail.com wrote: > PKG_NAME:=avr-binutils > PKG_VERSION:=2.20.1a > PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) > PKG_SOURCE:=binutils-$(PKG_VERSION).tar.bz2 > PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/binutils/ This means you're telling OpenWrt, the unpacked folder

[OpenWrt-Devel] [PATCH][AA][packages-12.09]asterisk-chan-sccp-b: fix PKG_SOURCE_URL, URL, maintainer and dependency

2013-05-18 Thread Jiri Slachta
packages-12.09: This patch fixes asterisk-chan-sccp-b dependency that breaks asterisk18 menu in openwrt menuconfig, fixes SVN repo URL (HTTP 404 error), project URL (also HTTP error 404) and removes package maintainer variable. Signed-off-by: Jiri Slachta Index: net/asterisk-chan-sccp-b/Makefil