diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-04 13:20:05 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-04 13:20:22 +0200 |
commit | d5ffc80ee620f21ddff9382c98ab7ba126bb46f7 (patch) | |
tree | 328e9a7eb4508aaab1c3d3548c84468710c39f37 /target/mips/Makefile | |
parent | 8c5767619d7023fe49ac0bf4f44b9c9b3ba49a8e (diff) |
ci20 fixes
Diffstat (limited to 'target/mips/Makefile')
-rw-r--r-- | target/mips/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/mips/Makefile b/target/mips/Makefile index 076e9aef7..72d814554 100644 --- a/target/mips/Makefile +++ b/target/mips/Makefile @@ -6,6 +6,10 @@ include $(ADK_TOPDIR)/mk/kernel-build.mk include $(ADK_TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL) +ifeq ($(ADK_TARGET_KERNEL_UIMAGE),y) +KERNEL:=$(LINUX_DIR)/arch/mips/boot/uImage +endif + OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id QEMU_ARGS:=-M malta @@ -72,7 +76,11 @@ endif # image creation and kernel install kernel-strip: +ifeq ($(ADK_TARGET_KERNEL_UIMAGE),) $(TARGET_CROSS)objcopy $(OSTRIP) -S $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) +else + @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) +endif kernel-install: kernel-strip @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL} |