On 05/17/2013 09:25 PM, [email protected] 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 is going to be named:

  avr-binutils-2.20.1a

That doesn't mean you _force_ it to be like that. You're just telling
OpenWrt the top-folder within the archive has this name. That makes
sense, if the name of the folder within differs from the name of the
archive.
However in this case the top-folder isn't named 'avr-binutils-2.20.1a',
but 'binutils-2.20.1'.

Check:
$ tar vjxf binutils-2.20.1a.tar.bz2 | head -1
binutils-2.20.1/

So PKG_SOURCE_SUBDIR is supposed to be set to: binutils-2.20.1

> bash: 
> /home/jonsmirl/openwrt/build_dir/target-mipsel_dsp_uClibc-0.9.33.2/avr-binutils-2.20.1a/configure:
> No such file or directory

See above. The extracted folder is named 'binutils-2.20.1'.

  mirko
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to