Files
rk35xx-android14/external/rktoolbox/Android.mk
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

30 lines
631 B
Makefile

LOCAL_PATH:= $(call my-dir)
common_cflags := \
-Werror -Wno-unused-parameter -Wno-unused-const-variable \
-I$(LOCAL_PATH)/upstream-netbsd/include/ \
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
rktoolbox.c \
LOCAL_CFLAGS += $(common_cflags)
LOCAL_CONLYFLAGS += -std=gnu99
LOCAL_SHARED_LIBRARIES := \
libcutils \
libselinux \
LOCAL_MODULE := rktoolbox
# Install the symlinks.
LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(ALL_TOOLS),ln -sf rktoolbox $(TARGET_OUT)/bin/$(t);)
# Including this will define $(intermediates).
#
include $(BUILD_EXECUTABLE)
include $(call all-makefiles-under,$(LOCAL_PATH))