Build both NPE-B and NPE-C microcode for the fsg-3 and other dual-ethernet ixp4xx...
[openwrt-10.03/.git] / tools / mkimage / src / mkimage.c
index 67123d93443b3715f13598a1f89471ff1980b95f..6ba400a47e8d5af6cdbca4a2e615afe897f03166 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  * MA 02111-1307 USA
  */
+#ifdef __APPLE__
+#define __FreeBSD__ 10
+#endif
 
 #include <errno.h>
 #include <fcntl.h>
@@ -139,6 +142,7 @@ table_entry_t comp_name[] = {
     {  IH_COMP_NONE,   "none",         "uncompressed",         },
     {  IH_COMP_BZIP2,  "bzip2",        "bzip2 compressed",     },
     {  IH_COMP_GZIP,   "gzip",         "gzip compressed",      },
+    {  IH_COMP_LZMA,   "lzma",         "lzma compressed",      },
     {  -1,             "",             "",                     },
 };