Skip to content

Commit

Permalink
update x86/x64 hda and vmware support. fix ftp port mode nat issues
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Sep 14, 2017
1 parent ca445e7 commit 04013bc
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 14 deletions.
13 changes: 7 additions & 6 deletions config/Config-images.in
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ menu "Target Images"

config TARGET_ROOTFS_TARGZ
bool "tar.gz"
default y if USES_TARGZ
default n if USES_TARGZ
help
Build a compressed tar archive of the root filesystem.

comment "Root filesystem images"

menuconfig TARGET_ROOTFS_EXT4FS
bool "ext4"
default y if USES_EXT4
default n if USES_EXT4
help
Build an ext4 root filesystem.

Expand Down Expand Up @@ -218,7 +218,7 @@ menu "Target Images"
config GRUB_TIMEOUT
string "Seconds to wait before booting the default entry"
depends on GRUB_IMAGES
default "5"
default "0"
help
If you don't know, 5 seconds is a reasonable default.

Expand All @@ -235,6 +235,7 @@ menu "Target Images"
select GRUB_IMAGES
select TARGET_IMAGES_PAD
select PACKAGE_kmod-e1000
default y

config TARGET_IMAGES_PAD
bool "Pad images to filesystem size (for JFFS2)"
Expand All @@ -243,7 +244,7 @@ menu "Target Images"
config TARGET_IMAGES_GZIP
bool "GZip images"
depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS || TARGET_x86
default y
default n

comment "Image Options"

Expand All @@ -252,12 +253,12 @@ menu "Target Images"
config TARGET_KERNEL_PARTSIZE
int "Kernel partition size (in MB)"
depends on GRUB_IMAGES
default 16
default 8

config TARGET_ROOTFS_PARTSIZE
int "Root filesystem partition size (in MB)"
depends on GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu || TARGET_uml
default 256
default 96
help
Select the root filesystem partition size.

Expand Down
3 changes: 2 additions & 1 deletion include/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ DEVICE_TYPE?=router

# Default packages - the really basic set
DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd \
iptables-mod-nat-extra kmod-macvlan block-mount default-settings ipset-lists luci luci-app-ddns luci-app-sqm luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \
iptables-mod-nat-extra kmod-nf-nathelper kmod-nf-nathelper-extra kmod-macvlan block-mount \
default-settings ipset-lists luci luci-app-ddns luci-app-sqm luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \
luci-app-filetransfer luci-app-shadowsocksr-pro luci-app-usb-printer
# For nas targets
DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm
Expand Down
3 changes: 2 additions & 1 deletion target/linux/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ KERNELNAME:=bzImage

include $(INCLUDE_DIR)/target.mk

DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs
DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs wpad kmod-usb-hid kmod-usb-net-asix kmod-usb-net-asix-ax88179 \
kmod-ath5k kmod-ath9k kmod-ath10k kmod-rt2800-usb kmod-e1000e kmod-igb kmod-igbvf kmod-ixgbe kmod-vmxnet3

$(eval $(call BuildTarget))

Expand Down
Loading

0 comments on commit 04013bc

Please sign in to comment.