-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
37 lines (28 loc) · 871 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
35
36
37
ifeq ($(BSPTOOLS),)
$(error You must first run 'source environment')
endif
subdir-y = \
tools
subdir-y += \
version
version_depends-y = \
tools
include Makefile.lib
libmakefile-check:
@echo " CHECK libmakefile"
@git fetch https://github.com/kozyilmaz/libmakefile.git buildsystem
@$(TOPDIR)/scripts/git-subtree-check.sh -r libmakefile
libmakefile-update:
@echo " UPDATE libmakefile"
ifeq ($(shell git remote -v |grep '\<libmakefile-remote\>'),)
@git remote add libmakefile-remote https://github.com/kozyilmaz/libmakefile.git
else
@git remote set-url libmakefile-remote https://github.com/kozyilmaz/libmakefile.git
endif
@git subtree pull --prefix=libmakefile/ --squash libmakefile-remote buildsystem
packages-build:
@echo " COMPILE packages"
@make -C packages
packages-clean:
@echo " CLEAN packages"
@make -C packages clean