slugtool: Switch to subdir= in SRC_URI
authorTom Rini <tom_rini@mentor.com>
Mon, 7 Mar 2011 17:43:41 +0000 (10:43 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 7 Mar 2011 17:51:49 +0000 (10:51 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/slugtool/slugtool.bb

index 4011105..b0a76eb 100644 (file)
@@ -3,9 +3,8 @@ DESCRIPTION = "Slugtool is a small app to disassemble and reassemble \
 flash images for the Linksys NSLU2 device."
 PR = "r1"
 LICENSE = "GPL"
-SRC_URI = "http://www.lantz.com/filemgmt_data/files/slugtool.tar.gz \
+SRC_URI = "http://www.lantz.com/filemgmt_data/files/slugtool.tar.gz;subdir=${BPN}-${PV} \
           file://redboot_typo.patch"
-S = "${WORKDIR}"
 
 do_compile () {
        ${CC} ${CFLAGS} ${LDFLAGS} slugtool.c -o slugtool