summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-13 17:17:07 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-13 17:17:07 -0600
commit2267158ebee2af86e17b7c1a681d24f48b823865 (patch)
tree47293f214f945257fa31ae659188d7c5a61071cb
parent1edde6f7139ba978fb8a3567bf57a1c4193fc448 (diff)
add targethelp for nfsroot on arm
-rw-r--r--mk/modules.mk2
-rw-r--r--target/arm/Makefile5
2 files changed, 6 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 84d5beb10..82577d074 100644
--- a/mk/modules.mk
+++ b/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
diff --git a/target/arm/Makefile b/target/arm/Makefile
index f57c613fa..b15206558 100644
--- a/target/arm/Makefile
+++ b/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)