unifdef-native_2.6.18+git.bb: Fix new style staging.
authorKhem Raj <raj.khem@gmail.com>
Thu, 6 May 2010 09:11:55 +0000 (02:11 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 6 May 2010 09:14:18 +0000 (02:14 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/unifdef/unifdef-native_2.6.18+git.bb

index cce96c3..16a9644 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPL"
 SRC_URI = "file://unifdef.c"
 
 inherit native
-
+NATIVE_INSTALL_WORKS = "1"
 do_compile() {
        ${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c
 }
@@ -13,6 +13,6 @@ do_compile() {
 NATIVE_INSTALL_WORKS = "1"
 
 do_install() {
+       install -d ${D}${bindir}/
        install -m 0755 unifdef ${D}${bindir}
 }
-