strip path when untaring kernel for headers
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>
Sun, 5 Dec 2010 21:30:21 +0000 (23:30 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 13 Dec 2010 16:19:05 +0000 (17:19 +0100)
commitcc1cff42804563cb12ebcc265ac004a4b5517ff5
tree28daac38fbaf82250a0d6c295efae480f7387890
parentf6cdaf5982097e3e2504c3e8209a2cc510a06576
strip path when untaring kernel for headers

This is needed when custom/snapshot kernel headers are selected.
Buildroot expects to find dl/linux-2.6.tar.bz2 and also expects
it to extract to output/toolchain/linux-2.6, but if you tar
custom kernel sources directory can be anything, etc. linux-git.
In that case buildroot would extract it to output/toolchain/linux-git.
So fix this behaviour, by using tar strip-directory/component.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/kernel-headers/kernel-headers-new.makefile