summaryrefslogtreecommitdiffstats
path: root/target/linux/image/squashfs.mk
blob: e9a95de560da77bc053c55a1a9663f06064dc507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
squashfs-prepare:
	$(MAKE) -C squashfs prepare

squashfs-compile:
	$(MAKE) -C squashfs compile
	
squashfs-clean:
	$(MAKE) -C squashfs clean
	rm -f $(KDIR)/root.squashfs

$(KDIR)/root.squashfs:
	@mkdir -p $(KDIR)/root/jffs
	$(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -noappend -root-owned -le

prepare: squashfs-prepare
compile: squashfs-compile
install: $(KDIR)/root.squashfs
	$(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"