-
Notifications
You must be signed in to change notification settings - Fork 2
/
make.beep
executable file
·57 lines (50 loc) · 2.33 KB
/
make.beep
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
###################################
# BEEP make package targets #
###################################
beepPkg = "all"
beep:
@echo -e "Build BEEP package $(beepPkg)"
ifeq ($(strip $(beepPkg)), cwmp)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/cwmpctl
else ifeq ($(strip $(beepPkg)), dad)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/dad
else ifeq ($(strip $(beepPkg)), tr69c)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/tr69c
else ifeq ($(strip $(beepPkg)), dmactl)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/dmactl
else ifeq ($(strip $(beepPkg)), spTestSuite)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/spTestSuite
else ifeq ($(strip $(beepPkg)), dsldiagd)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/dsldiagd
else ifeq ($(strip $(beepPkg)), firewalld)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/firewalld
else ifeq ($(strip $(beepPkg)), iperf)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace public/apps/iperf
else ifeq ($(strip $(beepPkg)), samba)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace gpl/apps/samba
else ifeq ($(strip $(beepPkg)), bee)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/pmd
cd $(TARGETS_DIR); ./buildFS_BEE;
else ifeq ($(strip $(beepPkg)), cms)
cd $(TARGETS_DIR); ./buildFS_CMS;
else ifeq ($(strip $(beepPkg)), exampleEE)
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/exampleEE
cd $(TARGETS_DIR); ./buildFS_EXAMPLEEE;
else ifeq ($(strip $(beepPkg)), openwrtEE)
cd $(TARGETS_DIR); ./buildFS_OPENWRTEE;
else
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/cwmpctl
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/dad
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/tr69c
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/dmactl
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/spTestSuite
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/dsldiagd
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/firewalld
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace public/apps/iperf
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace gpl/apps/samba
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/pmd
cd $(TARGETS_DIR); ./buildFS_BEE;
$(MAKE) -j $(ACTUAL_MAX_JOBS) -C userspace private/apps/exampleEE
cd $(TARGETS_DIR); ./buildFS_EXAMPLEEE;
cd $(TARGETS_DIR); ./buildFS_OPENWRTEE;
endif