-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (31 loc) · 717 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
38
39
40
## Makefile: meta-bcddev
#
# SPDX-LICENSE-IDENTIFIER: MIT
.PHONY: all clean default dist distclean
default: all
#all:kas-base
all:kas-rpi4
all:kas-nxp-spsdk-rpi4
.PHONY: kas-%
kas-%: scripts/kas/kas-%.yml
@echo [$@]
kas build $<
.PHONY: dist-prep
dist-prep:
@mkdir -p dist
.PHONY: package-raspberrypy4-64-images
package-raspberrypi4-64-images: dist-prep
@echo [$@]
install -m 0644 $(shell find "build/tmp/deploy/images/raspberrypi4-64" \
-type f -name "*-raspberrypi4-64.rootfs-*.wic.bz2") dist
.PHONY: package-images
package-images: package-raspberrypi4-64-images
@echo [$@]
dist: dist-prep all package-images
@echo [$@]
clean:
@echo [$@]
@rm -rf build/tmp
distclean:
@echo [$@]
@rm -rf build