You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
631 B
30 lines
631 B
|
|
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))
|