freescale-imx: Add helper to extract self-extractible binaries
authorJérôme Pouiller <jezz@sysmic.org>
Wed, 19 Nov 2014 21:30:34 +0000 (22:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 27 Nov 2014 20:59:46 +0000 (21:59 +0100)
commitf2a8f79c0257f35af75c61ecd9f7fd4266f72513
tree06b6ffa24a3eb089c588890f491b0dcb026f98bb
parent46ede997d4d152d47cdd6f7af47bdc1cf4ed96b6
freescale-imx: Add helper to extract self-extractible binaries

[Thomas:
 - reword the comment of the new macro, and add details about the
   expected arguments, as suggested by Yann E. Morin.
 - rework the logic to move the files in $(@D), as it was simply not
   working in the original patch. $(basename $(1)) was used to get the
   filename without the extension, but it also contains the full
   path. $(basename $(notdir $(1))) is needed.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freescale-imx/freescale-imx.mk