add pcengines wrap support
[openadk.git] / target / qemu-mips64el / Makefile
blob46ca45cc854c06e421d18185f2d9a128a354f51c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR)/rules.mk
5 include $(TOPDIR)/mk/kernel.mk
6 include $(TOPDIR)/mk/modules.mk
7 include $(TOPDIR)/mk/kernel-build.mk
8 include $(TOPDIR)/mk/image.mk
10 kernel-install:
11 cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel
13 ifeq ($(FS),ext2)
14 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
15 @echo
16 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
17 @echo "Use following command to create a QEMU Image:"
18 @echo "sudo ./scripts/create-image.sh -n qemu-mips.img $(BIN_DIR)/$(ROOTFSTARBALL)"
19 @echo "Start qemu with following options:"
20 @echo 'qemu-system-mips64el -nographic -M malta -kernel $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel -hda qemu-mips.img -append "root=/dev/hda1"'
21 @echo 'Login as user root with password linux123 via ssh or console'
22 endif
24 ifeq ($(FS),initramfs)
25 imageinstall: $(BIN_DIR)/$(INITRAMFS)
26 @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${ARCH}-kernel'
27 @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
28 @echo 'qemu-system-mips64el -nographic -M malta -kernel $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS}'
29 @echo 'Login as user root with password linux123 via ssh or console'
30 endif