image.mk: Adjust ubifs build behaviour to that of others image types
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 5 Mar 2010 04:14:03 +0000 (04:14 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 5 Mar 2010 04:14:03 +0000 (04:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19985 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/image.mk

index e133f72..6c0c91c 100644 (file)
@@ -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); \
                $(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
     endef
   endif
 else
This page took 0.023725 seconds and 4 git commands to generate.