source: freewrt/target/linux/image/squashfs.mk@ a3abab6

freewrt_1_0 freewrt_2_0
Last change on this file since a3abab6 was c04ece1, checked in by Thorsten Glaser <tg@…>, 19 years ago

as discussed with wbx@ some 2-3 weeks ago, change
the BR2_ prefix to FWRT_

tested with a standard build (only the squashfs
image since the jffs2 didn't get built)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@360 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 880 bytes
Line 
1ifneq ($(FWRT_BIG_ENDIAN),y)
2endian := le
3else
4endian := be
5endif
6
7squashfs-prepare:
8
9squashfs-compile: prepare-targets
10
11squashfs-clean:
12 rm -f $(KDIR)/root.squashfs
13
14$(KDIR)/root.squashfs: install-prepare
15 @mkdir -p $(KDIR)/root/jffs
16 $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian) $(MAKE_TRACE)
17
18ifeq ($(IB),)
19squashfs-install: compile-targets $(BOARD)-compile
20endif
21
22squashfs-install: $(KDIR)/root.squashfs
23 $(TRACE) target/linux/image/$(BOARD)/install
24 $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="squashfs"
25
26squashfs-install-ib: compile-targets
27 mkdir -p $(IB_DIR)/staging_dir_$(ARCH)/bin
28 $(CP) $(STAGING_DIR)/bin/mksquashfs-lzma $(IB_DIR)/staging_dir_$(ARCH)/bin
29
30prepare-targets: squashfs-prepare
31compile-targets: squashfs-compile
32install-targets: squashfs-install
33install-ib: squashfs-install-ib
34clean: squashfs-clean
Note: See TracBrowser for help on using the repository browser.