]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blame - lfs/pcengines-apu-firmware
lz4: Update to version 1.9.4
[people/mfischer/ipfire-2.x.git] / lfs / pcengines-apu-firmware
CommitLineData
0e54ca26
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
c80bc994 4# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
0e54ca26
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
f15707c7
RR
27SUMMARY = Firmware files for PC Engines apu system boards
28
c80bc994 29VER = 4.17.0.3
0e54ca26
MT
30
31THISAPP = pcengines-apu-firmware-$(VER)
32DL_FROM = $(URL_IPFIRE)
33DIR_APP = $(DIR_SRC)/$(THISAPP)
34TARGET = $(DIR_INFO)/$(THISAPP)
35PROG = pcengines-apu-firmware
c80bc994 36PAK_VER = 14
6cf219c4 37SUP_ARCH = x86_64
0e54ca26 38
2dc2a278 39DEPS = firmware-update
0e54ca26 40
f15707c7
RR
41SERVICES =
42
0e54ca26
MT
43###############################################################################
44# Top-level Rules
45###############################################################################
46
47objects = \
48 apu1_v$(VER).rom \
49 apu2_v$(VER).rom \
50 apu3_v$(VER).rom \
51 apu4_v$(VER).rom \
17a8437e 52 apu5_v$(VER).rom \
ef3feaf5
JM
53 apu6_v$(VER).rom \
54 apu7_v$(VER).rom
0e54ca26
MT
55
56apu1_v$(VER).rom = $(DL_FROM)/apu1_v$(VER).rom
57apu2_v$(VER).rom = $(DL_FROM)/apu2_v$(VER).rom
58apu3_v$(VER).rom = $(DL_FROM)/apu3_v$(VER).rom
59apu4_v$(VER).rom = $(DL_FROM)/apu4_v$(VER).rom
60apu5_v$(VER).rom = $(DL_FROM)/apu5_v$(VER).rom
17a8437e 61apu6_v$(VER).rom = $(DL_FROM)/apu6_v$(VER).rom
ef3feaf5
JM
62apu7_v$(VER).rom = $(DL_FROM)/apu7_v$(VER).rom
63
c80bc994
JM
64apu1_v$(VER).rom_BLAKE2 = e64c56f6105a206b6af2da4d54bd36d9caa53154b17d5fc32966ee3ed74b0b25749fd10c6936b5b9e526b779c2ef9f1d566915297244e1570c5000b555561aea
65apu2_v$(VER).rom_BLAKE2 = 082e89bc8867383e673a6ba2791558b17bb7ab807257f546fa549393b25891287bdb13ae59e2525fc5951a8bab0ffead33c2a2d6b6616bea5c6f5daba573bd8c
66apu3_v$(VER).rom_BLAKE2 = 06aef3cc85aa8a6082399961b75598c8632c6214079a2f670f2567c21b8b46c39736ef6514af14559048d118986d6fc56d1373e3c39309b73c2b56bfd6477611
67apu4_v$(VER).rom_BLAKE2 = ea07e2742ea98eae959928c3c5ba8038f24dbbac38087dc21a61039b92ed87fad8079414a92b81291de9d30f701574c4bf9c4c9c66e70938c2efcfa46f7c578d
68apu5_v$(VER).rom_BLAKE2 = 0f4bf5fedc5948578c8c76aa9a622874c1c8df1774df6bda70baccd7453fd882c5ecccd1c249612c5415ed2408a86ed7cba6c05f1fe57a9df9138589e86b630c
69apu6_v$(VER).rom_BLAKE2 = 90faa16c2ee863876b1bbdb862dd99213f2bcb30727db7553e4fc736ddc3fb354d3c8d58d6dd27f71586e5296ceb68a6f6dd43a15a4dbe4ee27f455486b6e43c
70apu7_v$(VER).rom_BLAKE2 = 251e0e3183bce159351397aa7a2146e22d1c840e818c3118c2c02d21d3adfd574b3061d91d227cd51d64c6bc31d27f159b296ffdbb5ce5fdbced727b97f508ad
0e54ca26
MT
71
72install : $(TARGET)
73
74check : $(patsubst %,$(DIR_CHK)/%,$(objects))
75
76download :$(patsubst %,$(DIR_DL)/%,$(objects))
77
9a7e4d85 78b2 : $(subst %,%_BLAKE2,$(objects))
0e54ca26 79
d01b47b7 80dist:
0e54ca26
MT
81 @$(PAK)
82
83###############################################################################
9a7e4d85 84# Downloading, checking, b2sum
0e54ca26
MT
85###############################################################################
86
87$(patsubst %,$(DIR_CHK)/%,$(objects)) :
88 @$(CHECK)
89
90$(patsubst %,$(DIR_DL)/%,$(objects)) :
91 @$(LOAD)
92
9a7e4d85
PM
93$(subst %,%_BLAKE2,$(objects)) :
94 @$(B2SUM)
0e54ca26
MT
95
96###############################################################################
97# Installation Details
98###############################################################################
99
100$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
101 @$(PREBUILD)
102
103 # Install firmware to /lib/firmware
104 mkdir -pv /lib/firmware/pcengines/apu
105 cd $(DIR_DL) && install -v -m 644 $(objects) \
106 /lib/firmware/pcengines/apu
107
108 @$(POSTBUILD)