fix hostap build when target arch != mipsel
[openwrt.git] / openwrt / target / linux / image / squashfs.mk
1 squashfs-prepare:
2 $(MAKE) -C squashfs prepare $(MAKE_TRACE)
3
4 squashfs-compile: prepare-targets
5 $(MAKE) -C squashfs compile $(MAKE_TRACE)
6
7 squashfs-clean:
8 $(MAKE) -C squashfs clean $(MAKE_TRACE)
9 rm -f $(KDIR)/root.squashfs
10
11 $(KDIR)/root.squashfs: install-prepare
12 @mkdir -p $(KDIR)/root/jffs
13 $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -le $(MAKE_TRACE)
14
15 squashfs-install: install-targets $(KDIR)/root.squashfs $(BOARD)-compile
16 $(TRACE) target/linux/image/$(BOARD)/install
17 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"
18
19 squashfs-install-ib:
20 mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
21 cp $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin
22
23 prepare-targets: squashfs-prepare
24 compile-targets: squashfs-compile
25 install-targets: squashfs-install
26 install-ib: squashfs-install-ib
27 clean: squashfs-clean
This page took 0.063178 seconds and 5 git commands to generate.