Explorar o código

fix rootfs creation for ext2

Waldemar Brodkorb %!s(int64=17) %!d(string=hai) anos
pai
achega
35a96bb3d5
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      target/rb532/Makefile

+ 3 - 5
target/rb532/Makefile

@@ -12,18 +12,16 @@ include $(TOPDIR)/mk/image.mk
 kernel-install:
 	cp $(LINUX_DIR)/vmlinux $(BIN_DIR)/${DEVICE}-${ARCH}-kernel
 
-ifeq ($(FS),ext2)
+ifeq ($(FS),ext2-cf)
 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
 	@echo
+	@echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
 	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
-	@echo "Use following command to create a QEMU Image:"
-	@echo "sudo ./scripts/create-image.sh -n qemu-mips.img $(BIN_DIR)/$(ROOTFSTARBALL)"
-	@echo "Start qemu with following options:"
-	@echo "qemu-system-mipsel -nographic -M malta -kernel $(BIN_DIR)/${DEVICE}-${ARCH}-kernel -hda qemu-mips.img"
 endif
 
 ifeq ($(FS),nfsroot)
 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+	@echo
 	@echo 'The kernel file is: ${BIN_DIR}/${DEVICE}-${ARCH}-kernel'
 	@echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
 endif