2019-10-21 16:14:33 +02:00
|
|
|
############################################################################
|
2022-10-18 08:55:15 +02:00
|
|
|
# drivers/modem/alt1250/Make.defs
|
2019-10-21 16:14:33 +02:00
|
|
|
#
|
2021-01-25 10:00:05 +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
|
2019-10-21 16:14:33 +02:00
|
|
|
#
|
2021-01-25 10:00:05 +01:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2019-10-21 16:14:33 +02:00
|
|
|
#
|
2021-01-25 10:00:05 +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.
|
2019-10-21 16:14:33 +02:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_MODEM),y)
|
|
|
|
|
2022-10-18 08:55:15 +02:00
|
|
|
ifeq ($(CONFIG_MODEM_ALT1250),y)
|
|
|
|
CSRCS += alt1250.c
|
|
|
|
CSRCS += altcom_pkt.c
|
|
|
|
CSRCS += altcom_hdlr.c
|
|
|
|
CSRCS += altcom_lwm2m_hdlr.c
|
2019-10-21 16:14:33 +02:00
|
|
|
CSRCS += altmdm.c
|
2022-10-18 08:55:15 +02:00
|
|
|
CSRCS += altmdm_event.c
|
2019-10-21 16:14:33 +02:00
|
|
|
CSRCS += altmdm_spi.c
|
2022-10-18 08:55:15 +02:00
|
|
|
CSRCS += altmdm_timer.c
|
2019-10-21 16:14:33 +02:00
|
|
|
endif
|
|
|
|
|
2022-10-18 08:55:15 +02:00
|
|
|
DEPPATH += --dep-path modem$(DELIM)alt1250
|
|
|
|
VPATH += :modem$(DELIM)alt1250
|
|
|
|
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)modem}
|
2019-10-21 16:14:33 +02:00
|
|
|
|
|
|
|
endif
|