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
11 cp
$(LINUX_DIR
)/vmlinux
$(BIN_DIR
)/${ADK_TARGET}-${ARCH}-kernel
14 imageinstall
: $(BIN_DIR
)/$(ROOTFSTARBALL
)
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'
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'