Make it use , and actually create the dir before installing. (duh)
authorOyvind Repvik <nail@nslu2-linux.org>
Tue, 2 Aug 2005 12:50:33 +0000 (12:50 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 2 Aug 2005 12:50:33 +0000 (12:50 +0000)
packages/bwmon/bwmon_1.3.bb

index 2527164..26c620e 100644 (file)
@@ -12,5 +12,6 @@ EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}"
 inherit autotools
 
 do_install () {
-       install ${S}/bwmon ${D}/usr/bin/bwmon
+       install -d ${D}${bindir}
+       install ${S}/bwmon ${D}${bindir}/bwmon
 }