X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/12fce709c1e26a0cfa13be05a14af0bffd3bcc55..df5dee93df2a481490c260c5378c72725aef43e3:/include/image.mk diff --git a/include/image.mk b/include/image.mk index af4e10256..4ec7d91bf 100644 --- a/include/image.mk +++ b/include/image.mk @@ -44,7 +44,7 @@ ifneq ($(CONFIG_JFFS2_LZMA),y) JFFS2OPTS += -x lzma endif -ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_25),) +ifneq ($(CONFIG_LINUX_2_6_25),) USE_SQUASHFS3 := y endif @@ -129,7 +129,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),) endif ifneq ($(CONFIG_TARGET_ROOTFS_EXT2FS),) - E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_FSPART)*1024))) + E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024))) define Image/mkfs/ext2 $(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext2