Better incremental builds

This commit is contained in:
topjohnwu
2018-09-27 03:56:56 -04:00
parent 41446ec9ba
commit 60b3b8ddce
14 changed files with 30 additions and 9 deletions

View File

@@ -28,6 +28,7 @@
#include "utils.h"
#include "su.h"
#include "selinux.h"
#include "flags.h"
struct su_context *su_ctx;
@@ -182,7 +183,7 @@ int su_daemon_main(int argc, char **argv) {
printf("%d\n", MAGISK_VER_CODE);
exit2(EXIT_SUCCESS);
case 'v':
printf("%s\n", MAGISKSU_VER_STR);
printf("%s\n", xstr(MAGISK_VERSION) ":MAGISKSU (topjohnwu)");
exit2(EXIT_SUCCESS);
case 'z':
// Do nothing, placed here for legacy support :)

View File

@@ -11,7 +11,6 @@
#include "db.h"
#include "list.h"
#define MAGISKSU_VER_STR xstr(MAGISK_VERSION) ":MAGISKSU (topjohnwu)"
#define DEFAULT_SHELL "/system/bin/sh"
struct su_info {