Home | History | Annotate | Download | only in squashfs_utils
      1 # Copyright 2015 The Android Open Source Project
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 
      5 include $(CLEAR_VARS)
      6 LOCAL_SRC_FILES := squashfs_utils.c
      7 LOCAL_STATIC_LIBRARIES := libcutils
      8 LOCAL_C_INCLUDES := external/squashfs-tools/squashfs-tools
      9 LOCAL_MODULE := libsquashfs_utils
     10 include $(BUILD_STATIC_LIBRARY)
     11 
     12 ifeq ($(HOST_OS),linux)
     13 
     14 include $(CLEAR_VARS)
     15 LOCAL_MODULE := mksquashfsimage.sh
     16 LOCAL_SRC_FILES := mksquashfsimage.sh
     17 LOCAL_MODULE_CLASS := EXECUTABLES
     18 # We don't need any additional suffix.
     19 LOCAL_MODULE_SUFFIX :=
     20 LOCAL_BUILT_MODULE_STEM := $(notdir $(LOCAL_SRC_FILES))
     21 LOCAL_IS_HOST_MODULE := true
     22 include $(BUILD_PREBUILT)
     23 
     24 endif
     25