Browse Source

add targethelp for nfsroot on arm

Waldemar Brodkorb 9 years ago
parent
commit
2267158ebe
2 changed files with 6 additions and 1 deletions
  1. 1 1
      mk/modules.mk
  2. 5 0
      target/arm/Makefile

+ 1 - 1
mk/modules.mk

@@ -1216,7 +1216,7 @@ $(eval $(call KMOD_template,INPUT_EVDEV,input-evdev,\
 
 USBMODULES:=
 ifeq ($(KERNEL_BASE),3)
-ifeq ($(KERNEL_MAJ),17)
+ifeq ($(KERNEL_MAJ),18)
 USBMODULES+=drivers/usb/common/usb-common
 USBMODULES+=drivers/usb/core/usbcore
 USBUDC:=gadget/udc

+ 5 - 0
target/arm/Makefile

@@ -87,6 +87,11 @@ ifeq ($(ADK_TARGET_QEMU),y)
 	@echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
 endif
 endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+targethelp:
+	@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
+	@echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)"
+endif
 
 kernel-strip:
 	@cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)