toolchain/gdb: strip tarball component when extracting
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>
Tue, 13 Sep 2011 21:57:29 +0000 (23:57 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 5 Oct 2011 14:46:50 +0000 (16:46 +0200)
commitc5da6f9553ac82fefbefb655ac0207bc58615ae4
tree7c3c48b544de7dcd9952957d57501935ce2e93ce
parent37f0d1bb7b5a379161e647b730f5a57b814122bb
toolchain/gdb: strip tarball component when extracting

For some tarballs of gdb (see next patch), the extracted directory is
*not* named after the version string (eg. gdb-6.6a extract into gdb-6.6/)

Create the appropriate directory first, then use --strip-{components,path}
when extracting gdb (the same way it is done for the generic package
infrastructure).

At the same time, get rid of the snapshot special case, because:
 1- it's no longer available in the menu
 2- it would be handled by the above change

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gdb/gdb.mk