ipkg doesn't like underscores in package names
[openadk.git] / target / qemu-x86_64 / Makefile
blob9d6a8f5b44162661fbbe08a7407c4902dcdb5700
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:=$(LINUX_DIR)/arch/x86/boot/bzImage
12 kernel-install:
13 @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
15 ifeq ($(FS),archive)
16 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
17 @echo
18 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
19 @echo "Use following command to create a QEMU Image:"
20 @echo "sudo ./scripts/create-image.sh -f $(ADK_TARGET_ROOTFS) qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)"
21 @echo "Start qemu with following command line:"
22 @echo 'qemu-system-x86_64 -nographic -net user,hostfwd=tcp::2222-:22 -net nic,model=e1000 -kernel $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel qemu-${CPU_ARCH}.img'
23 @echo 'Login as user root with password linux123 via ssh or console'
24 endif
26 ifeq ($(FS),initramfs)
27 imageinstall: $(BIN_DIR)/$(INITRAMFS)
28 @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
29 @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
30 @echo "Start qemu with following command line:"
31 @echo 'qemu-system-x86_64 -nographic -net user,hostfwd=tcp::2222-:22 -net nic,model=e1000 -kernel $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS}'
32 @echo 'Login as user root with password linux123 via ssh or console'
33 endif
35 ifeq ($(FS),initramfs-piggyback)
36 imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs
37 @cp $(KERNEL) ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel
38 @echo 'The kernel+initramfs file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
39 @echo "Start qemu with following command line:"
40 @echo 'qemu-system-x86_64 -nographic -net user,hostfwd=tcp::2222-:22 -net nic,model=e1000 -kernel $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel'
41 @echo 'Login as user root with password linux123 via ssh or console'
42 endif