The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 1 | # Copyright 2005 The Android Open Source Project |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_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 | |
| 15 | ifeq ($(strip $(INIT_BOOTCHART)),true) |
| 16 | LOCAL_SRC_FILES += bootchart.c |
| 17 | LOCAL_CFLAGS += -DBOOTCHART=1 |
| 18 | endif |
| 19 | |
| 20 | LOCAL_MODULE:= init |
| 21 | |
| 22 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
| 23 | LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) |
| 24 | LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED) |
| 25 | |
| 26 | LOCAL_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 | |
| 32 | include $(BUILD_EXECUTABLE) |
| 33 | |