-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·80 lines (61 loc) · 2.84 KB
/
Copy pathMakefile
File metadata and controls
executable file
·80 lines (61 loc) · 2.84 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.PHONY: all clean
BUILDROOT_DIR = $(shell pwd)/buildroot
# Project 1
headless_wifi_setup_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../headless_wifi_setup BOARD_NAME=raspberrypi0w
headless_wifi_setup_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../headless_wifi_setup BOARD_NAME=raspberrypi3-64
# Project 2
background_logger_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../background_logger BOARD_NAME=raspberrypi0w
background_logger_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../background_logger BOARD_NAME=raspberrypi3-64
# Project 3
dbus_example_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../dbus_example BOARD_NAME=raspberrypi0w
dbus_example_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../dbus_example BOARD_NAME=raspberrypi3-64
# Project 4
webserver_nginx_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../webserver_nginx BOARD_NAME=raspberrypi0w
webserver_nginx_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../webserver_nginx BOARD_NAME=raspberrypi3-64
# Project 5
nginx_nodejs_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../nginx_nodejs BOARD_NAME=raspberrypi0w
nginx_nodejs_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../nginx_nodejs BOARD_NAME=raspberrypi3-64
# Project 6
nodejs_dbus_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../nodejs_dbus BOARD_NAME=raspberrypi0w
nodejs_dbus_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../nodejs_dbus BOARD_NAME=raspberrypi3-64
# Project 7
headless_wifi_eth_setup_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../headless_wifi_eth_setup BOARD_NAME=raspberrypi3-64
# Project 8
access_point_rpi0w:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi0w_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../access_point BOARD_NAME=raspberrypi0w
access_point_rpi3-64:
$(MAKE) -C $(BUILDROOT_DIR) custom_raspberrypi3b_64_defconfig
$(MAKE) -C $(BUILDROOT_DIR) BR2_EXTERNAL=../access_point BOARD_NAME=raspberrypi3-64
menuconfig:
$(MAKE) -C $(BUILDROOT_DIR) menuconfig
list-defconfigs:
$(MAKE) -C $(BUILDROOT_DIR) list-defconfigs
clean:
$(MAKE) -C $(BUILDROOT_DIR) clean