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 uncompress set goes up a level in directories > the source ends up in target_mipsel/gcc-1.0 > > What is the right way to achieve a rename like this? > I need the source in the avr-gcc tree so that I can apply avr specific > patches to it.
You can override the default of PKG_SOURCE_SUBDIR to point it to where the src actually lies after unpacking, which in this case would be: PKG_SOURCE_SUBDIR:=gcc-$(PACKAGE_VERSION) mirko _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel