tools/mkimage: update to v2024.04
[openwrt/openwrt.git] / tools / mkimage / patches / 030-allow-to-use-different-magic.patch
index f2f57965f604fe77e52d440172d56529b9b1706d..bcbdc4d6cd12e7b7f4ff7a48a731825d90d43b81 100644 (file)
@@ -24,7 +24,7 @@ This patch makes it possible to set a custom image magic.
                "          -a ==> set load address to 'addr' (hex)\n"
                "          -e ==> set entry point to 'ep' (hex)\n"
                "          -n ==> set image name to 'name'\n"
-@@ -159,7 +161,7 @@ static int add_content(int type, const c
+@@ -160,7 +162,7 @@ static int add_content(int type, const c
  }
  
  static const char optstring[] =
@@ -33,7 +33,7 @@ This patch makes it possible to set a custom image magic.
  
  static const struct option longopts[] = {
        { "load-address", required_argument, NULL, 'a' },
-@@ -302,6 +304,14 @@ static void process_args(int argc, char
+@@ -303,6 +305,14 @@ static void process_args(int argc, char
                case 'l':
                        params.lflag = 1;
                        break;