X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/62adc1bc11c690e96fc4d1b0fd2464d06932c9a4..8d1aeadcd7aed346643691509ceaaef428208691:/target/linux/image/squashfs.mk diff --git a/target/linux/image/squashfs.mk b/target/linux/image/squashfs.mk index 450718153..0b39aa161 100644 --- a/target/linux/image/squashfs.mk +++ b/target/linux/image/squashfs.mk @@ -1,9 +1,8 @@ -ifeq ($(BR2_LINUX_2_4_AR531X),) - endian := be -else - endian := le -endif +endian := le +ifeq ($(ARCH),mips) + endian := be +endif squashfs-prepare: $(MAKE) -C squashfs prepare $(MAKE_TRACE) @@ -29,7 +28,7 @@ squashfs-install: $(KDIR)/root.squashfs squashfs-install-ib: compile-targets mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin - cp $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin + $(CP) $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin prepare-targets: squashfs-prepare compile-targets: squashfs-compile