Shashank Mittal | 246f8d0 | 2011-01-21 17:12:27 -0800 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
Amol Jadi | 9ef9b73 | 2011-05-23 16:00:17 -0700 | [diff] [blame] | 3 | ARCH := arm |
Shashank Mittal | 246f8d0 | 2011-01-21 17:12:27 -0800 | [diff] [blame] | 4 | # Cann't use cortex-a5 as its not supported by gcc 4.4.0 |
| 5 | ARM_CPU := cortex-a8 |
Amol Jadi | 9ef9b73 | 2011-05-23 16:00:17 -0700 | [diff] [blame] | 6 | CPU := generic |
| 7 | |
| 8 | DEFINES += ARM_CPU_CORE_A5 |
Shashank Mittal | 246f8d0 | 2011-01-21 17:12:27 -0800 | [diff] [blame] | 9 | |
Aparna Mallavarapu | 5a83b2a | 2011-05-26 18:01:31 +0530 | [diff] [blame] | 10 | MMC_SLOT := 3 |
Shashank Mittal | 246f8d0 | 2011-01-21 17:12:27 -0800 | [diff] [blame] | 11 | DEFINES += WITH_CPU_EARLY_INIT=1 MMC_SLOT=$(MMC_SLOT) |
| 12 | |
Aparna Mallavarapu | f712f5e | 2011-08-04 21:11:00 +0530 | [diff] [blame] | 13 | INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include |
Shashank Mittal | 246f8d0 | 2011-01-21 17:12:27 -0800 | [diff] [blame] | 14 | |
| 15 | MODULES += dev/fbcon |
| 16 | |
| 17 | OBJS += \ |
| 18 | $(LOCAL_DIR)/arch_init.o \ |
| 19 | $(LOCAL_DIR)/platform.o \ |
| 20 | $(LOCAL_DIR)/interrupts.o \ |
| 21 | $(LOCAL_DIR)/gpio.o \ |
Shashank Mittal | 246f8d0 | 2011-01-21 17:12:27 -0800 | [diff] [blame] | 22 | $(LOCAL_DIR)/acpuclock.o |
| 23 | |
| 24 | LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld |
| 25 | |
| 26 | include platform/msm_shared/rules.mk |
| 27 | |