X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b9efbcf7dd49e086ce43823f8ef522883508eddd..192312d978b59b0c74b34d3b6a115ff1453c6159:/openwrt/target/linux/image/squashfs.mk diff --git a/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk index 450718153..0b39aa161 100644 --- a/openwrt/target/linux/image/squashfs.mk +++ b/openwrt/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