Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07b3d09e authored by Bruce Beare's avatar Bruce Beare
Browse files

Build the host version of libdiskconfig



Change-Id: I5541d02676b12b728492321ec1344bd826ee560a
Signed-off-by: default avatarBruce Beare <brucex.j.beare@intel.com>
parent e94df975
Loading
Loading
Loading
Loading
+12 −3
Original line number Original line Diff line number Diff line
@@ -3,17 +3,26 @@ include $(CLEAR_VARS)


ifneq ($(TARGET_SIMULATOR),true)
ifneq ($(TARGET_SIMULATOR),true)


include $(CLEAR_VARS)


LOCAL_SRC_FILES := \
commonSources := \
	diskconfig.c \
	diskconfig.c \
	diskutils.c \
	diskutils.c \
	write_lst.c \
	write_lst.c \
	config_mbr.c
	config_mbr.c


include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(commonSources)
LOCAL_MODULE := libdiskconfig
LOCAL_MODULE := libdiskconfig
LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc
LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc

include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)


include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(commonSources)
LOCAL_MODULE := libdiskconfig_host
LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils
LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE
include $(BUILD_HOST_STATIC_LIBRARY)



endif  # ! TARGET_SIMULATOR
endif  # ! TARGET_SIMULATOR