Skip to content
Snippets Groups Projects
Commit adc00b16 authored by Greg Hartman's avatar Greg Hartman
Browse files

Add host build rules for sgdisk

Change-Id: Ided9a1329ade081228101d51812242dc4d686b87
parent 729f7bd5
No related branches found
No related tags found
No related merge requests found
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := \
sgdisk_src_files := \
sgdisk.cc \
gptcl.cc \
crc32.cc \
......@@ -21,9 +18,30 @@ LOCAL_SRC_FILES := \
diskio-unix.cc \
android_popt.cc \
include $(CLEAR_VARS)
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := $(sgdisk_src_files)
LOCAL_SHARED_LIBRARIES := libext2_uuid
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := sgdisk
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := $(sgdisk_src_files)
LOCAL_CFLAGS := -D__ANDROID__
LOCAL_SHARED_LIBRARIES := libext2_uuid_host
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := sgdisk_host
LOCAL_MODULE_STEM := sgdisk
include $(BUILD_HOST_EXECUTABLE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment