add support for the wrt54g3g pcmcia
[openwrt.git] / openwrt / target / linux / image / jffs2.mk
index b6396e6..281db01 100644 (file)
@@ -1,4 +1,4 @@
-ifneq ($(BR2_mips),y)
+ifneq ($(BR2_BIG_ENDIAN),y)
 JFFS2OPTS :=  --pad --little-endian --squash
 else
 JFFS2OPTS :=  --pad --big-endian --squash
@@ -36,7 +36,7 @@ jffs2-install: $(KDIR)/root.jffs2-4MB $(KDIR)/root.jffs2-8MB
 
 jffs2-install-ib: compile-targets
        mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
-       cp $(STAGING_DIR)/bin/mkfs.jffs2 $(IB_DIR)/staging_dir_$(ARCH)/bin
+       $(CP) $(STAGING_DIR)/bin/mkfs.jffs2 $(IB_DIR)/staging_dir_$(ARCH)/bin
 
 prepare-targets: jffs2-prepare
 compile-targets: jffs2-compile
This page took 0.029769 seconds and 4 git commands to generate.