diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-12 10:50:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-12 10:51:36 +0200 |
commit | ddb5d9774a5341b85986217939da0f8a35513024 (patch) | |
tree | 51fac3fdff4c34b5667268a1d1e1e899b7c6460f /target/xtensa/Makefile | |
parent | 66abdde90cb03cfb95978d3b5fecb74110367b66 (diff) |
add support for xtensa dc233c variant. use uImage, which works with a patched Qemu. Thanks to Max Filippov for fixes and ideas.
Diffstat (limited to 'target/xtensa/Makefile')
-rw-r--r-- | target/xtensa/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/target/xtensa/Makefile b/target/xtensa/Makefile index 42ab2ab9a..3760ebff4 100644 --- a/target/xtensa/Makefile +++ b/target/xtensa/Makefile @@ -9,8 +9,14 @@ include $(ADK_TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/arch/xtensa/boot/uImage -QEMU_ARGS:=-M lx60 -cpu dc232b -monitor null +QEMU_ARGS:=-M lx60 -monitor null QEMU_ARGS+=${ADK_QEMU_ARGS} +ifeq ($(ADK_TARGET_QEMU_XTENSA_DC233C),y) +QEMU_ARGS+=-cpu dc233c +endif +ifeq ($(ADK_TARGET_QEMU_XTENSA_DC232B),y) +QEMU_ARGS+=-cpu dc232b +endif # target helper text ifeq ($(ADK_TARGET_FS),archive) @@ -47,12 +53,8 @@ ifeq ($(ADK_TARGET_QEMU),y) endif endif -# image creation and kernel install -kernel-strip: - $(TARGET_CROSS)objcopy $(OSTRIP) -S $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) - -kernel-install: kernel-strip - @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL} +kernel-install: + @cp $(KERNEL) $(FW_DIR)/${TARGET_KERNEL} # filesystem specific targets ifeq ($(ADK_TARGET_FS),archive) |