summaryrefslogtreecommitdiff
path: root/package/mkimage
diff options
context:
space:
mode:
Diffstat (limited to 'package/mkimage')
-rw-r--r--package/mkimage/Makefile3
-rw-r--r--package/mkimage/src/image.h1
-rw-r--r--package/mkimage/src/mkimage.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/package/mkimage/Makefile b/package/mkimage/Makefile
index 3c3dd30f7..8e6fa6bdd 100644
--- a/package/mkimage/Makefile
+++ b/package/mkimage/Makefile
@@ -22,7 +22,8 @@ $(eval $(call HOST_template,MKIMAGE,mkimage,$(PKG_VERSION)-${PKG_RELEASE}))
HOST_STYLE:= manual
host-build:
- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o ${WRKBUILD}/mkimage ${WRKBUILD}/mkimage.c ${WRKBUILD}/crc32.c
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o ${WRKBUILD}/mkimage \
+ ${WRKBUILD}/mkimage.c ${WRKBUILD}/crc32.c
mkimage-hostinstall:
${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
diff --git a/package/mkimage/src/image.h b/package/mkimage/src/image.h
index cb62cde5b..d64d81ebc 100644
--- a/package/mkimage/src/image.h
+++ b/package/mkimage/src/image.h
@@ -77,6 +77,7 @@
#define IH_CPU_NIOS2 15 /* Nios-II */
#define IH_CPU_BLACKFIN 16 /* Blackfin */
#define IH_CPU_AVR32 17 /* AVR32 */
+#define IH_CPU_XTENSA 18 /* XTENSA */
/*
* Image Types
diff --git a/package/mkimage/src/mkimage.c b/package/mkimage/src/mkimage.c
index 7c0432bad..23d4a3fb2 100644
--- a/package/mkimage/src/mkimage.c
+++ b/package/mkimage/src/mkimage.c
@@ -98,6 +98,7 @@ table_entry_t arch_name[] = {
{ IH_CPU_SPARC64, "sparc64", "SPARC 64 Bit", },
{ IH_CPU_BLACKFIN, "blackfin", "Blackfin", },
{ IH_CPU_AVR32, "avr32", "AVR32", },
+ { IH_CPU_XTENSA, "xtensa", "XTENSA", },
{ -1, "", "", },
};