2009-12-26 15:18:48 +00:00
|
|
|
############################################################################
|
2019-08-14 12:34:18 +00:00
|
|
|
# boards/arm/lpc31xx/ea3131/src/Makefile
|
2009-12-26 15:18:48 +00:00
|
|
|
#
|
2021-03-05 10:18:57 +01:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2009-12-26 15:18:48 +00:00
|
|
|
#
|
2021-03-05 10:18:57 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2009-12-26 15:18:48 +00:00
|
|
|
#
|
2021-03-05 10:18:57 +01:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2009-12-26 15:18:48 +00:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2020-05-19 03:42:11 +08:00
|
|
|
include $(TOPDIR)/Make.defs
|
2009-12-26 15:18:48 +00:00
|
|
|
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS = lpc31_boot.c lpc31_clkinit.c
|
2009-12-26 15:18:48 +00:00
|
|
|
|
2010-09-11 01:58:26 +00:00
|
|
|
ifeq ($(CONFIG_ARCH_BUTTONS),y)
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS += lpc31_buttons.c
|
2010-09-11 01:58:26 +00:00
|
|
|
endif
|
2013-11-15 15:56:24 -06:00
|
|
|
|
2013-07-24 10:08:32 -06:00
|
|
|
ifeq ($(CONFIG_LPC31_EXTDRAM),y)
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS += lpc31_mem.c
|
2010-09-11 01:58:26 +00:00
|
|
|
endif
|
2013-11-15 15:56:24 -06:00
|
|
|
|
2010-09-11 01:58:26 +00:00
|
|
|
ifeq ($(CONFIG_ARCH_LEDS),y)
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS += lpc31_leds.c
|
2010-09-11 01:58:26 +00:00
|
|
|
endif
|
2013-11-15 15:56:24 -06:00
|
|
|
|
2012-09-06 22:25:51 +00:00
|
|
|
ifeq ($(CONFIG_LPC31_SPI),y)
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS += lpc31_spi.c
|
2010-09-11 01:58:26 +00:00
|
|
|
endif
|
2013-11-15 15:56:24 -06:00
|
|
|
|
2021-08-01 15:00:54 +08:00
|
|
|
ifeq ($(CONFIG_BOARDCTL),y)
|
2016-02-04 12:03:09 -06:00
|
|
|
CSRCS += lpc31_appinit.c
|
2009-12-26 15:18:48 +00:00
|
|
|
endif
|
2013-11-15 15:56:24 -06:00
|
|
|
|
2024-02-29 16:21:23 -03:00
|
|
|
ifeq ($(CONFIG_LEGACY_PAGING),y)
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS += lpc31_fillpage.c
|
2013-11-15 15:56:24 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_LPC31_USBOTG),y)
|
|
|
|
ifeq ($(CONFIG_USBHOST),y)
|
2015-03-21 14:12:58 -06:00
|
|
|
CSRCS += lpc31_usbhost.c
|
2010-08-17 19:28:51 +00:00
|
|
|
endif
|
2013-11-15 15:56:24 -06:00
|
|
|
endif
|
|
|
|
|
2019-08-05 12:04:14 +00:00
|
|
|
include $(TOPDIR)/boards/Board.mk
|