diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-17 19:13:37 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-17 19:13:37 +0100 |
commit | 53d22bb88e82c1d8dd19db418ca12c664e341ba4 (patch) | |
tree | e1f35a46f56d1c8c0f8e8bc63b43dc8da63e4d2a /mk/rootfs.mk | |
parent | b47f6f464d38ad18716e4b270231812b123dcf67 (diff) | |
parent | c6fa9771807b4438e35df864de9a01fb768d33d2 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/rootfs.mk')
-rw-r--r-- | mk/rootfs.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk index 3093f532f..e5c4c7089 100644 --- a/mk/rootfs.mk +++ b/mk/rootfs.mk @@ -8,6 +8,8 @@ FS_CMDLINE:=$(3) endif endef +ADK_TARGET_ROOTFS_USB_DEVICE:=$(strip $(subst ",, $(ADK_TARGET_ROOTFS_USB_DEVICE))) + ifeq ($(ADK_LINUX_MIPS_RB532),y) ROOTFS:= root=/dev/sda2 MTDDEV:= root=/dev/mtdblock1 @@ -22,7 +24,7 @@ ROOTFS:= root=/dev/mmcblk0p2 rootwait endif $(eval $(call rootfs_template,ext2-block,EXT2_BLOCK,$(ROOTFS))) -$(eval $(call rootfs_template,usb,USB,root=/dev/sdb1 rootdelay=3)) +$(eval $(call rootfs_template,usb,USB,root=$(ADK_TARGET_ROOTFS_USB_DEVICE) rootdelay=3)) $(eval $(call rootfs_template,archive,ARCHIVE)) $(eval $(call rootfs_template,initramfs,INITRAMFS)) $(eval $(call rootfs_template,initramfs-piggyback,INITRAMFS_PIGGYBACK)) |