diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-24 01:05:40 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-01-24 01:05:51 +0100 |
commit | 27446cd367b223775f61e4420642bb8c41f921b5 (patch) | |
tree | 0c63e99098acd0a629341cc1edca1d724e9f4e68 /arch/Makefile | |
parent | c437f86b84ef0a5c98a52009489313497a5086e4 (diff) |
Adding Makefile for NXP's CMSIS source code, and fixing a few case mistakes.
Diffstat (limited to 'arch/Makefile')
-rw-r--r-- | arch/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/Makefile b/arch/Makefile new file mode 100644 index 0000000..02596ed --- /dev/null +++ b/arch/Makefile @@ -0,0 +1,20 @@ +TARGET_LIB = libarch.a + +all: $(TARGET_LIB) + +include $(ROOTDIR)/common.mk + +ifeq ($(CPU),arm) +ifeq ($(CPU_FLAVOR),lpc1768) +TARGET_INCLUDES += arm/lpc17xx/Core/CM3/DeviceSupport/NXP/LPC17xx arm/lpc17xx/Core/CM3/CoreSupport arm/lpc17xx/Drivers/include +TARGET_SRCS += arm/lpc17xx/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c arm/lpc17xx/Core/CM3/CoreSupport/core_cm3.c +TARGET_SRCS += $(addprefix arm/lpc17xx/Drivers/source/lpc17xx_, spi.c rit.c exti.c wdt.c uart.c dac.c rtc.c i2s.c pwm.c mcpwm.c pinsel.c nvic.c emac.c systick.c ssp.c can.c gpio.c libcfg_default.c i2c.c timer.c gpdma.c clkpwr.c qei.c adc.c) +endif +endif + +include $(ROOTDIR)/target-rules.mk + +clean: clean-generic + + + |