disable target/linux/package
[openwrt.git] / target / linux / image / squashfs.mk
1 ifneq ($(CONFIG_BIG_ENDIAN),y)
2 endian := le
3 else
4 endian := be
5 endif
6
7 squashfs-prepare:
8 $(MAKE) -C squashfs prepare
9
10 squashfs-compile: prepare-targets
11 $(MAKE) -C squashfs compile
12
13 squashfs-clean:
14 $(MAKE) -C squashfs clean
15 rm -f $(KDIR)/root.squashfs
16
17 $(KDIR)/root.squashfs: install-prepare
18 @mkdir -p $(KDIR)/root/jffs
19 $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian)
20
21 ifeq ($(IB),)
22 squashfs-install: compile-targets $(BOARD)-compile
23 endif
24
25 squashfs-install: $(KDIR)/root.squashfs
26 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"
27
28 squashfs-install-ib: compile-targets
29 mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
30 $(CP) $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin
31
32 prepare-targets: squashfs-prepare
33 compile-targets: squashfs-compile
34 install-targets: squashfs-install
35 install-ib: squashfs-install-ib
36 clean: squashfs-clean
This page took 0.055169 seconds and 5 git commands to generate.