auc: remove left-over subtarget string

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2019-03-07 11:56:10 +01:00
parent 7831fb63bd
commit d506fc2651
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=auc
PKG_VERSION:=0.1.1
PKG_VERSION:=0.1.2
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0

View File

@ -13,7 +13,7 @@
*/
#define _GNU_SOURCE
#define AUC_VERSION "0.1.1"
#define AUC_VERSION "0.1.2"
#include <fcntl.h>
#include <dlfcn.h>
@ -61,7 +61,7 @@ static bool cur_resume;
static int output_fd = -1;
static int retry, imagebuilder, building, ibready;
static char *board_name = NULL;
static char *target = NULL, *subtarget = NULL;
static char *target = NULL;
static char *distribution = NULL, *version = NULL;
static int uptodate;
static char *filename = NULL;
@ -322,7 +322,6 @@ static void board_cb(struct ubus_request *req, int type, struct blob_attr *msg)
blobmsg_add_string(buf, "distro", distribution);
blobmsg_add_string(buf, "target", target);
blobmsg_add_string(buf, "subtarget", subtarget);
blobmsg_add_string(buf, "version", version);
}