aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: 4aafda01e1fb3d33cdc18aced5e664416ad8d423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 2016 The Android Open Source Project

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_CFLAGS := \
  -Wall \
  -Werror \
  -Wno-sign-compare \
  -Wno-missing-field-initializers \
  -Wno-unused-parameter
LOCAL_SRC_FILES := \
  checks.c \
  data.c \
  dtc.c \
  dtc-lexer.l \
  dtc-parser.y \
  flattree.c \
  fstree.c \
  livetree.c \
  srcpos.c \
  treesource.c \
  util.c

LOCAL_STATIC_LIBRARIES := \
  libfdt
LOCAL_CXX_STL := none

LOCAL_MODULE := dtc

include $(BUILD_HOST_EXECUTABLE)

$(call dist-for-goals, dist_files, $(ALL_MODULES.dtc.BUILT):dtc/dtc)