blob: d3766d4556c62520a97c1686624cdb03d9d1be22 [file] [log] [blame]
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08001# Copyright 2005 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 builtins.c \
8 init.c \
9 devices.c \
10 property_service.c \
11 util.c \
12 parser.c \
13 logo.c
14
15ifeq ($(strip $(INIT_BOOTCHART)),true)
16LOCAL_SRC_FILES += bootchart.c
17LOCAL_CFLAGS += -DBOOTCHART=1
18endif
19
20LOCAL_MODULE:= init
21
22LOCAL_FORCE_STATIC_EXECUTABLE := true
23LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
24LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)
25
26LOCAL_STATIC_LIBRARIES := libcutils libc
27
28#LOCAL_STATIC_LIBRARIES := libcutils libc libminui libpixelflinger_static
29#LOCAL_STATIC_LIBRARIES += libminzip libunz libamend libmtdutils libmincrypt
30#LOCAL_STATIC_LIBRARIES += libstdc++_static
31
32include $(BUILD_EXECUTABLE)
33