summaryrefslogtreecommitdiff
path: root/target/ppc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/ppc/Makefile')
-rw-r--r--target/ppc/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/target/ppc/Makefile b/target/ppc/Makefile
index 64660ef59..2eec72d23 100644
--- a/target/ppc/Makefile
+++ b/target/ppc/Makefile
@@ -20,6 +20,10 @@ ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO),y)
QEMU_ARGS+=-M bamboo
QEMU_ARGS+=-device e1000,netdev=adk0 -netdev user,id=adk0
endif
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS),y)
+QEMU_ARGS+=-M mpc8544ds
+QEMU_ARGS+=-device e1000,netdev=adk0 -netdev user,id=adk0
+endif
# target helper text
ifeq ($(ADK_TARGET_FS),archive)
@@ -69,35 +73,25 @@ kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL}
dtb-install:
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
-j${ADK_MAKE_JOBS} virtex440-ml507.dtb $(MAKE_TRACE)
$(CP) $(LINUX_DIR)/arch/powerpc/boot/virtex440-ml507.dtb \
$(FW_DIR)/ppc.dtb
+endif
# filesystem specific targets
ifeq ($(ADK_TARGET_FS),archive)
-ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
imageinstall: dtb-install $(FW_DIR)/$(ROOTFSTARBALL) targethelp
-else
-imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
-endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)
-ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
imageinstall: dtb-install kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
-else
-imageinstall: kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
-endif
endif
ifeq ($(ADK_TARGET_FS),initramfsarchive)
imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
endif
ifeq ($(ADK_TARGET_FS),initramfspiggyback)
-ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
imageinstall: dtb-install createinitramfs targethelp
-else
-imageinstall: createinitramfs targethelp
-endif
endif
ifeq ($(ADK_TARGET_FS),nfsroot)
imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp