reintroduce the -ffreestanding to avoid gcc inline errors
[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 $(STAGING_DIR)/bin/mksquashfs-lzma:
8 $(MAKE) -C $(TOPDIR)/target/linux/image/squashfs compile
9
10 squashfs-clean: FORCE
11 $(MAKE) -C $(TOPDIR)/target/linux/image/squashfs clean
12 rm -f $(KDIR)/root.squashfs
13
14 define Image/mkfs/squashfs
15 @mkdir -p $(BUILD_DIR)/root/jffs
16 $(STAGING_DIR)/bin/mksquashfs-lzma $(BUILD_DIR)/root $(KDIR)/root.squashfs -nopad -noappend -root-owned -$(ENDIAN)
17 $(call Image/Build,squashfs)
18 endef
19
20 FILESYSTEMS += squashfs
21 compile-targets: $(STAGING_DIR)/bin/mksquashfs-lzma
22 clean-targets: squashfs-clean
This page took 0.048462 seconds and 5 git commands to generate.