apple-boot-firmware: use :build target of sysutils/m1n1 now that it provides
the license files before fake-install, further reducing build dependencies of this.
This commit is contained in:
parent
89523a7a46
commit
08007f3b88
|
@ -1,6 +1,6 @@
|
|||
FW_DRIVER= apple-boot
|
||||
FW_VER= 1.0
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
DISTFILES=
|
||||
|
@ -10,17 +10,18 @@ DISTFILES=
|
|||
PERMIT_PACKAGE= firmware
|
||||
PERMIT_DISTFILES= Yes
|
||||
|
||||
BUILD_DEPENDS= m1n1-=1.1.6p1:sysutils/m1n1 \
|
||||
BUILD_DEPENDS= m1n1-=1.1.6p2:sysutils/m1n1:build \
|
||||
u-boot-asahi-=2022.07.3p3:sysutils/u-boot-asahi:build
|
||||
|
||||
ASAHI_BUILD= ${WRKSRC}/sysutils/u-boot-asahi/u-boot-asahi-*/build
|
||||
M1N1_BUILD= ${WRKSRC}/sysutils/m1n1/m1n1-*/build
|
||||
|
||||
do-install:
|
||||
cat ${LOCALBASE}/share/m1n1/m1n1.bin ${ASAHI_BUILD}/arch/arm/dts/*.dtb \
|
||||
cat ${M1N1_BUILD}/m1n1.bin ${ASAHI_BUILD}/arch/arm/dts/*.dtb \
|
||||
> ${PREFIX}/firmware/apple-boot.bin
|
||||
gzip -c ${ASAHI_BUILD}/u-boot-nodtb.bin \
|
||||
>> ${PREFIX}/firmware/apple-boot.bin
|
||||
cat ${LOCALBASE}/share/m1n1/m1n1.LICENSE ${ASAHI_BUILD}/LICENSE \
|
||||
cat ${M1N1_BUILD}/m1n1.LICENSE ${ASAHI_BUILD}/LICENSE \
|
||||
> ${PREFIX}/firmware/apple-boot-license
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in New Issue