config: change references from armvirt to armsr
[openwrt/staging/jow.git] / config / Config-images.in
index 5615141b750ed39ae9927dcd5ad0eb6e3e7771e8..ea7b3d37c3d5decc4adb0c192d483576197fd572 100644 (file)
@@ -37,11 +37,9 @@ menu "Target Images"
                                bool "lzma"
 
                        config TARGET_INITRAMFS_COMPRESSION_LZO
-                               depends on !TARGET_ROOTFS_INITRAMFS_SEPARATE
                                bool "lzo"
 
                        config TARGET_INITRAMFS_COMPRESSION_LZ4
-                               depends on !TARGET_ROOTFS_INITRAMFS_SEPARATE
                                bool "lz4"
 
                        config TARGET_INITRAMFS_COMPRESSION_XZ
@@ -61,7 +59,6 @@ menu "Target Images"
                config TARGET_INITRAMFS_FORCE
                        bool "Force"
                        depends on TARGET_ROOTFS_INITRAMFS
-                       default n
                        help
                          Ignore the initramfs passed by the bootloader.
 
@@ -130,7 +127,6 @@ menu "Target Images"
                config TARGET_EXT4_JOURNAL
                        bool "Create a journaling filesystem"
                        depends on TARGET_ROOTFS_EXT4FS
-                       default n
                        help
                          Create an ext4 filesystem with a journal.
 
@@ -208,11 +204,12 @@ menu "Target Images"
 
        config GRUB_EFI_IMAGES
                bool "Build GRUB EFI images (Linux x86 or x86_64 host only)"
-               depends on TARGET_x86
+               depends on TARGET_x86 || TARGET_armsr
                depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
-               select PACKAGE_grub2
-               select PACKAGE_grub2-efi
-               select PACKAGE_grub2-bios-setup
+               select PACKAGE_grub2 if TARGET_x86
+               select PACKAGE_grub2-efi if TARGET_x86
+               select PACKAGE_grub2-bios-setup if TARGET_x86
+               select PACKAGE_grub2-efi-arm if TARGET_armsr
                select PACKAGE_kmod-fs-vfat
                default y
 
@@ -235,7 +232,6 @@ menu "Target Images"
        config GRUB_FLOWCONTROL
                bool "Use RTE/CTS on serial console"
                depends on GRUB_SERIAL != ""
-               default n
 
        config GRUB_BOOTOPTS
                string "Extra kernel boot options"
@@ -271,7 +267,7 @@ menu "Target Images"
 
        config VMDK_IMAGES
                bool "Build VMware image files (VMDK)"
-               depends on TARGET_x86
+               depends on TARGET_x86 || TARGET_armsr
                depends on GRUB_IMAGES || GRUB_EFI_IMAGES
                select PACKAGE_kmod-e1000
 
@@ -283,18 +279,20 @@ menu "Target Images"
 
        config TARGET_IMAGES_GZIP
                bool "GZip images"
-               depends on TARGET_ROOTFS_EXT4FS || TARGET_x86 || TARGET_armvirt || TARGET_malta
+               depends on TARGET_ROOTFS_EXT4FS || TARGET_x86 || TARGET_armsr || TARGET_malta
                default y
 
        comment "Image Options"
 
        source "target/linux/*/image/Config.in"
+       source "target/linux/*/*/image/Config.in"
 
        config TARGET_KERNEL_PARTSIZE
                int "Kernel partition size (in MiB)"
                depends on USES_BOOT_PART
                default 8 if TARGET_apm821xx_sata
                default 64 if TARGET_bcm27xx
+               default 128 if TARGET_armsr
                default 16
 
        config TARGET_ROOTFS_PARTSIZE
@@ -314,7 +312,6 @@ menu "Target Images"
 
        config TARGET_ROOTFS_PERSIST_VAR
                bool "Make /var persistent"
-               default n
                help
                  Do not symlink /var to /tmp, so that its content will persist
                  across reboots. When enabled, /var/run will still be linked