@ -299,7 +299,16 @@ endef
# $1 = FL2 filename
# $2 = ISO image
d e f i n e r u l e _ i s o
$( 2) : $( 1) $( 2) .bat ; ./scripts/slice.insert $( 1) .slice $( 1) $( 2) && sed -i " s/__BUILT/`sha1sum $( 1) `/ " $( 2) .bat && mcopy -m -o -i $( 2) @@$( FAT_OFFSET) $( 2) .bat ::AUTOEXEC.BAT && mdel -i $( 2) @@$( FAT_OFFSET) ::EFI/Boot/BootX64.efi
$( 2) : $( 1) $( 2) .bat ; cp --reflink= auto $( 2) .orig $( 2) && ./scripts/copyFL2 to_iso $( 2) $( 1) && sed -i " s/__BUILT/`sha1sum $( 1) `/ " $( 2) .bat && mcopy -m -o -i $( 2) @@$( FAT_OFFSET) $( 2) .bat ::AUTOEXEC.BAT && mdel -i $( 2) @@$( FAT_OFFSET) ::EFI/Boot/BootX64.efi
e n d e f
# Extract the FL2 file from an ISO image
# Note that the parameters here are essentially the same as rule_iso, but you cannot
# define two targets with one define..
# $1 = FL2 filename basename
# $2 = ISO image basename
d e f i n e r u l e _ f l 2 _ e x t r a c t
$( 1) .orig: $( 2) .orig ; ./scripts/copyFL2 from_iso $( 2) .orig $( 1) .orig && ./scripts/checksum --rm_on_fail $( 2) .orig
e n d e f
#
@ -325,3 +334,10 @@ $(call rule_iso,w530.G4HT39WW.s01D5200.FL2,g5uj28us.iso)
$( call rule_iso ,t 430s .G 7HT 39WW .s 01D 8000.FL 2,g 7uj 19us .iso )
$( call rule_iso ,x 230t .GCHT 25WW .s 01DA 000.FL 2,gcuj 24us .iso )
$( call rule_fl 2_extract ,t 430.G 1HT 35WW .s 01D 2000.FL 2,g 1uj 40us .iso )
$( call rule_fl 2_extract ,t 430.G 1HT 34WW .s 01D 2000.FL 2,g 1uj 25us .iso )
$( call rule_fl 2_extract ,x 230.G 2HT 35WW .s 01D 3000.FL 2,g 2uj 25us .iso )
$( call rule_fl 2_extract ,t 530.G 4HT 39WW .s 01D 5100.FL 2,g 4uj 30us .iso )
$( call rule_fl 2_extract ,w 530.G 4HT 39WW .s 01D 5200.FL 2,g 5uj 28us .iso )
$( call rule_fl 2_extract ,t 430s .G 7HT 39WW .s 01D 8000.FL 2,g 7uj 19us .iso )
$( call rule_fl 2_extract ,x 230t .GCHT 25WW .s 01DA 000.FL 2,gcuj 24us .iso )