fix copy loader.elf to image builder and add some package lists for brcm-2.6 (fixes...
[openwrt.git] / 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 ifeq ($(IB),)
16 squashfs-install: compile-targets $(BOARD)-compile
17 endif
18
19 squashfs-install: $(KDIR)/root.squashfs
20 $(TRACE) target/linux/image/$(BOARD)/install
21 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"
22
23 squashfs-install-ib: compile-targets
24 mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
25 cp $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin
26
27 prepare-targets: squashfs-prepare
28 compile-targets: squashfs-compile
29 install-targets: squashfs-install
30 install-ib: squashfs-install-ib
31 clean: squashfs-clean
This page took 0.048294 seconds and 5 git commands to generate.