fix rb532 squashfs support (patch by Jens Muecke)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7577 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-06-11 22:58:44 +00:00
parent b0e37ff9eb
commit a53acfc435
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ define Image/cmdline/ext2
root=/dev/cfa2 rootfstype=ext2 init=/etc/preinit
endef
define Image/cmdline/squashfs
root=/dev/cfa2 rootfstype=squashfs init=/etc/preinit
endef
define Image/Build
$(STAGING_DIR)/bin/patch-cmdline $(KDIR)/vmlinux.elf '$(strip $(call Image/cmdline/$(1))) '
./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin 4 $(KDIR)/vmlinux.elf $(CONFIG_TARGET_ROOTFS_FSPART) $(KDIR)/root.$(1)