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