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
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.
>
>
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
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
Has no effect, I must have something slightly wrong since I can see
other Makefile using it.
include $(TOPDIR)/rules.mk
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/bin
On 05/17/2013 08:48 PM, jonsm...@gmail.com wrote:
> Let's say I want to make a package:
>
> PKG_NAME:=avr-gcc
> PKG_VERSION:=1.0
>
> but my source is named gcc
> PKG_SOURCE:=gcc-$(PACKAGE_VERSION).tar.gz
>
> When this source gets uncompressed it gets put into.
>
> target_mipsel/avr-gcc/..
> The
Let's say I want to make a package:
PKG_NAME:=avr-gcc
PKG_VERSION:=1.0
but my source is named gcc
PKG_SOURCE:=gcc-$(PACKAGE_VERSION).tar.gz
When this source gets uncompressed it gets put into.
target_mipsel/avr-gcc/..
The uncompress set goes up a level in directories
the source ends up in targe