blob: d3649b0dd02d298507566d19e2bce4fc43e9d8ef [file] [log] [blame]
Shashank Mittal246f8d02011-01-21 17:12:27 -08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
Amol Jadi9ef9b732011-05-23 16:00:17 -07003ARCH := arm
Shashank Mittal246f8d02011-01-21 17:12:27 -08004# Cann't use cortex-a5 as its not supported by gcc 4.4.0
5ARM_CPU := cortex-a8
Amol Jadi9ef9b732011-05-23 16:00:17 -07006CPU := generic
7
8DEFINES += ARM_CPU_CORE_A5
Shashank Mittal246f8d02011-01-21 17:12:27 -08009
Aparna Mallavarapu5a83b2a2011-05-26 18:01:31 +053010MMC_SLOT := 3
Shashank Mittal246f8d02011-01-21 17:12:27 -080011DEFINES += WITH_CPU_EARLY_INIT=1 MMC_SLOT=$(MMC_SLOT)
12
Aparna Mallavarapuf712f5e2011-08-04 21:11:00 +053013INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include
Shashank Mittal246f8d02011-01-21 17:12:27 -080014
15MODULES += dev/fbcon
16
17OBJS += \
18 $(LOCAL_DIR)/arch_init.o \
19 $(LOCAL_DIR)/platform.o \
20 $(LOCAL_DIR)/interrupts.o \
21 $(LOCAL_DIR)/gpio.o \
Shashank Mittal246f8d02011-01-21 17:12:27 -080022 $(LOCAL_DIR)/acpuclock.o
23
24LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld
25
26include platform/msm_shared/rules.mk
27