• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revision716038aff3a0d5a1902c0ee11e058439890e3d68 (tree)
Time2016-06-01 00:00:02
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Android.mk: use AOSP's mksquashfs

Build mksquashfs from the source of AOSP.

Change Summary

Incremental Difference

--- a/Android.mk
+++ b/Android.mk
@@ -27,12 +27,10 @@ VER ?= $(shell date +"%F")
2727
2828 # use squashfs for iso, unless explictly disabled
2929 ifneq ($(USE_SQUASHFS),0)
30-MKSQUASHFS = $(shell which mksquashfs)
30+MKSQUASHFS := $(MAKE_SQUASHFS)
3131
3232 define build-squashfs-target
33- $(if $(shell $(MKSQUASHFS) -version | grep "version [0-3].[0-9]"),\
34- $(error Your mksquashfs is too old to work with kernel 2.6.29. Please upgrade to squashfs-tools 4.0))
35- $(hide) $(MKSQUASHFS) $(1) $(2) -noappend
33+ $(hide) $(MKSQUASHFS) $(1) $(2) -noappend -comp gzip
3634 endef
3735 endif
3836
@@ -42,6 +40,7 @@ initrd_bin := \
4240 $(wildcard $(initrd_dir)/*/*)
4341
4442 systemimg := $(PRODUCT_OUT)/system.$(if $(MKSQUASHFS),sfs,img)
43+$(if $(MKSQUASHFS),$(systemimg): | $(MKSQUASHFS))
4544
4645 INITRD_RAMDISK := $(PRODUCT_OUT)/initrd.img
4746 $(INITRD_RAMDISK): $(initrd_bin) $(systemimg) $(TARGET_INITRD_SCRIPTS) | $(ACP) $(MKBOOTFS)