X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f6b470be4fdfaf8cdd5093d649e11e57d9af0fe3..d6a7552aad4537d1dc32c5e92c5159d7211372c2:/include/image.mk diff --git a/include/image.mk b/include/image.mk index 990ce8e40..47871f954 100644 --- a/include/image.mk +++ b/include/image.mk @@ -23,7 +23,7 @@ JFFS2OPTS := --pad --big-endian --squash SQUASHFS_OPTS := -be endif -ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_21)$(CONFIG_LINUX_2_6_25),) +ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_25),) USE_SQUASHFS3 := y endif @@ -91,7 +91,8 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) $(CP) ./ubinize.cfg $(KDIR) $(STAGING_DIR_HOST)/bin/mkfs.ubifs $(UBIFS_OPTS) -o $(KDIR)/root.ubifs -d $(TARGET_DIR) (cd $(KDIR); \ - $(STAGING_DIR_HOST)/bin/ubinize $(UBINIZE_OPTS) -o $(BIN_DIR)/openwrt-$(BOARD)-rootfs.ubi ubinize.cfg) + $(STAGING_DIR_HOST)/bin/ubinize $(UBINIZE_OPTS) -o $(KDIR)/root.ubi ubinize.cfg) + $(call Image/Build,ubi) endef endif else @@ -103,7 +104,7 @@ endif define Image/Checksum ( cd ${BIN_DIR} ; \ - $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | xargs \ + $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | sort | xargs \ md5sum --binary > md5sums \ ) endef