forked from rahulgm/aws_starter_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (26 loc) · 713 Bytes
/
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
# Copyright (C) 2008-2016, Marvell International Ltd.
# All Rights Reserved.
# -*-makefile-*-
-include .config
include build/aws_starter_sdk.mk
subdir-y += sdk/external/aws_iot
subdir-y += sdk/external/freertos
subdir-y += sdk/external/lwip
# pre-built libraries
subdir-y += sdk/libs
ifeq ($(APP),)
-include sample_apps/sample_apps.mk
else
APP_PATH ?= $(realpath $(APP))
subdir-y += $(APP_PATH)
endif
include build/aws_starter_sdk_rules.mk
#####################
##################### Only the Default Targets
all: post-build-1
post-build-1: do_the_build
do_the_build: pre-build-1
$(AT)$(MAKE) build
build: $(b-exec-apps-y)
@echo $(b-exec-paths-y)
.PHONY: all build do_the_build post-build-1 pre-build-1