You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

3 years ago
# NB: if the firmware is needed in installer,
# it should be installed to stage1's *instrumental* chroot
# for mkmodpack to use
use/firmware:
@$(call add_feature)
@$(call add,SYSTEM_PACKAGES,firmware-linux)
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
@$(call add,THE_PACKAGES,firmware-bcm4345)
endif
use/firmware/full: use/firmware/server use/firmware/laptop; @:
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/firmware/cpu: use/firmware
@$(call add,THE_PACKAGES,firmware-intel-ucode iucode_tool)
else
use/firmware/cpu: use/firmware; @:
endif
use/firmware/server: use/firmware
@$(call add,SYSTEM_PACKAGES,firmware-aic94xx-seq)
@$(call add,THE_PACKAGES_REGEXP,firmware-ql.*)
use/firmware/qlogic: use/firmware
@$(call add,SYSTEM_PACKAGES,firmware-ql6312)
# NB: individual firmwarez would sometimes conflict
# with ones newly merged into firmware-linux
use/firmware/wireless: use/firmware
@$(call add,THE_PACKAGES_REGEXP,firmware-prism.*)
@$(call add,THE_PACKAGES_REGEXP,firmware-ipw.*)
@$(call add,THE_PACKAGES_REGEXP,firmware-zd.*)
@$(call add,THE_PACKAGES_REGEXP,firmware-rt.*)
use/firmware/laptop: use/firmware/cpu; @:
3 years ago
ifeq (,$(filter-out x86_64,$(ARCH)))
@$(call add,THE_PACKAGES,firmware-alsa-sof)
endif