summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/neuros-pkggen/files/package.c2
-rw-r--r--packages/neuros-pkggen/neuros-pkggen-native.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/neuros-pkggen/files/package.c b/packages/neuros-pkggen/files/package.c
index 70f219514d..6ac94f9874 100644
--- a/packages/neuros-pkggen/files/package.c
+++ b/packages/neuros-pkggen/files/package.c
@@ -387,7 +387,7 @@ int main(int argc, char *argv[])
}
/* packet firmware to package */
- if (pack_firmware(fp_w, hw_len, 4, &argv[3]) != 0)
+ if (pack_firmware(fp_w, hw_len, argc - 3, &argv[3]) != 0)
return(-1);
/* packet upk_desc and version info */
if (pack_ver_info(fp_w, hw_len+phd->p_headsize, argv[2]) != 0)
diff --git a/packages/neuros-pkggen/neuros-pkggen-native.bb b/packages/neuros-pkggen/neuros-pkggen-native.bb
index 2c5b5c40e2..13625622d2 100644
--- a/packages/neuros-pkggen/neuros-pkggen-native.bb
+++ b/packages/neuros-pkggen/neuros-pkggen-native.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Tool to generate ready to flash .pkg files for neuros machines"
LICENSE = "GPLv2"
-PR = "r2"
+PR = "r3"
inherit native