-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
31 lines (28 loc) · 815 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
LANG :=C
export LANG
PWD := $(shell pwd)
CP := cp -fpR
SED := sed -i -e
RM := rm -rf
empty =
space = $(empty) $(empty)
split = $(subst -,$(space),$(1))
split2 = $(subst /,$(space),$(1))
qstrip = $(strip $(subst ",,$(1)))
#"))
boxes_list := $(sort $(shell ls config/))
firmwares_list := $(shell find config/ -type f -name "*\.config" | sed -e 's|config/\(.*\)/\(.*\)\.config|\1-\2|g')
#---------------------------------------------------------
help usage:
cat README
@echo " boxes: $(boxes_list)"
@echo " firmwares: $(firmwares_list)"
#---------------------------------------------------------
ifeq ($(words $(MAKECMDGOALS)),1)
include include/vt102.mk
Exec = $(call trace,"$(1)"); $(1)
include include/openwrt.mk
include include/version.mk
include include/efixo.mk
endif
include include/targets.mk