-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
42 lines (31 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
ifndef NRFX_BASE
$(error NRFX_BASE must be set to the nrfx checkout folder)
endif
ifndef NATIVE_SIM_PATH
$(error NATIVE_SIM_PATH must be set to the native_simulator checkout folder)
endif
default: NRF52833 NRF5340 NRF54L15
compile: NRF52833
NRF52833:
@$(MAKE) --no-print-directory -f 52833.mk install
NRF5340:
@$(MAKE) --no-print-directory -f 5340.mk hw install
@$(MAKE) --no-print-directory -f 5340.mk hal_net install
@$(MAKE) --no-print-directory -f 5340.mk hal_app install
NRF5340_hal_net:
@$(MAKE) --no-print-directory -f 5340.mk hw install
@$(MAKE) --no-print-directory -f 5340.mk hal_net install
NRF5340_hal_app:
@$(MAKE) --no-print-directory -f 5340.mk hw install
@$(MAKE) --no-print-directory -f 5340.mk hal_app install
NRF54L15:
@$(MAKE) --no-print-directory -f 54L15.mk hw install
@$(MAKE) --no-print-directory -f 54L15.mk hal_app install
# Let's just let the 52833 build handle any other target by default
%::
@$(MAKE) -f 52833.mk $@
.PHONY: NRF52833 NRF5340 NRF5340_hal_net NRF5340_hal_app NRF54L15 default compile
# No need to check implicit rules for this file itself
Makefile: ;