diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-14 21:09:58 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-14 21:09:58 +0100 |
commit | b4d61f0ee3485f89dd8560227c833dc948523ecf (patch) | |
tree | 3b032e4e2c209781fa33886488b41774b49e3f90 /mk | |
parent | 3e9ec766c9b289becc53fba5fc57eb20723eeab7 (diff) |
consolidate x86/x86_64 support
use hardware profiles, instead of extra target dirs.
fix dependencies.
Diffstat (limited to '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)) |