2009-12-31 23:30:26 +01:00
|
|
|
############################################################################
|
2019-08-15 18:19:17 +02:00
|
|
|
# boards/arm/sam34/sam3u-ek/src/Makefile
|
2009-12-31 23:30:26 +01: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-31 23:30:26 +01:00
|
|
|
#
|
2021-03-05 10:18:57 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2009-12-31 23:30:26 +01: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-31 23:30:26 +01:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2020-05-18 21:42:11 +02:00
|
|
|
include $(TOPDIR)/Make.defs
|
2009-12-31 23:30:26 +01:00
|
|
|
|
2015-03-21 13:52:32 +01:00
|
|
|
CSRCS = sam_boot.c sam_leds.c sam_buttons.c sam_spi.c sam_usbdev.c
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-13 01:32:00 +02:00
|
|
|
ifeq ($(CONFIG_LCD),y)
|
2015-03-21 13:52:32 +01:00
|
|
|
CSRCS += sam_lcd.c
|
2013-03-10 20:31:10 +01:00
|
|
|
endif
|
2009-12-31 23:30:26 +01:00
|
|
|
|
2021-08-01 09:00:54 +02:00
|
|
|
ifeq ($(CONFIG_BOARDCTL),y)
|
2016-02-04 19:03:09 +01:00
|
|
|
CSRCS += sam_appinit.c
|
2009-12-31 23:30:26 +01:00
|
|
|
endif
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
ifeq ($(CONFIG_SAM34_HSMCI),y)
|
2015-03-21 13:52:32 +01:00
|
|
|
CSRCS += sam_mmcsd.c
|
2010-04-11 17:32:07 +02:00
|
|
|
endif
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2012-01-25 21:17:59 +01:00
|
|
|
ifeq ($(CONFIG_USBMSC),y)
|
2015-03-21 13:52:32 +01:00
|
|
|
CSRCS += sam_usbmsc.c
|
2009-12-31 23:30:26 +01:00
|
|
|
endif
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2011-10-03 18:02:22 +02:00
|
|
|
ifeq ($(CONFIG_INPUT_ADS7843E),y)
|
2015-03-21 13:52:32 +01:00
|
|
|
CSRCS += sam_touchscreen.c
|
2011-10-03 18:02:22 +02:00
|
|
|
endif
|
2009-12-31 23:30:26 +01:00
|
|
|
|
2019-08-05 14:04:14 +02:00
|
|
|
include $(TOPDIR)/boards/Board.mk
|