LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) # boot.img parts include $(CLEAR_VARS) LOCAL_MODULE := fstab.espresso LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/fstab.tab2 LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) include $(BUILD_PREBUILT) ifneq ($(filter p5100 p5110,$(TARGET_DEVICE)),) include $(CLEAR_VARS) LOCAL_MODULE := fstab.espresso10 LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) include $(BUILD_SYSTEM)/base_rules.mk $(LOCAL_BUILT_MODULE): TARGET := fstab.espresso $(LOCAL_BUILT_MODULE): SYMLINK := $(TARGET_ROOT_OUT)/$(LOCAL_MODULE) $(LOCAL_BUILT_MODULE): $(hide) echo "Symlink: $(SYMLINK) -> $(TARGET)" $(hide) mkdir -p $(dir $@) $(hide) mkdir -p $(dir $(SYMLINK)) $(hide) rm -rf $@ $(hide) rm -rf $(SYMLINK) $(hide) ln -sf $(TARGET) $(SYMLINK) $(hide) touch $@ endif include $(CLEAR_VARS) ifneq ($(filter p3100 p3110,$(TARGET_DEVICE)),) LOCAL_MODULE := init.espresso.rc else LOCAL_MODULE := init.espresso10.rc endif LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.tab2.rc LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) include $(BUILD_PREBUILT) include $(CLEAR_VARS) ifneq ($(filter p3100 p3110,$(TARGET_DEVICE)),) LOCAL_MODULE := init.espresso.usb.rc else LOCAL_MODULE := init.espresso10.usb.rc endif LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.tab2.usb.rc LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) include $(BUILD_PREBUILT) include $(CLEAR_VARS) ifneq ($(filter p3100 p3110,$(TARGET_DEVICE)),) LOCAL_MODULE := ueventd.espresso.rc else LOCAL_MODULE := ueventd.espresso10.rc endif LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/ueventd.tab2.rc LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) include $(BUILD_PREBUILT) # recovery.img parts ifneq ($(filter p3100 p3110,$(TARGET_DEVICE)),) include $(CLEAR_VARS) LOCAL_MODULE := init.recovery.espresso.rc LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := ../recovery/root/init.recovery.espresso.rc LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT) include $(BUILD_PREBUILT) endif