mkimage-profiles/features.in/arm-rpi4/config.mk
2021-03-04 20:22:18 +04:00

33 lines
977 B
Makefile

ifeq (,$(filter-out aarch64 armh,$(ARCH)))
ifeq (aarch64,$(ARCH))
use/arm-rpi4: use/efi/grub use/uboot use/auto-resize
else
use/arm-rpi4: use/bootloader/uboot use/auto-resize
endif
@$(call add_feature)
@$(call set,VM_PARTTABLE,msdos)
@$(call set,VM_BOOTTYPE,EFI)
@$(call add,BASE_KMODULES,staging)
@$(call add,THE_LISTS,uboot)
@$(call add,THE_PACKAGES,u-boot-tools)
@$(call add,THE_PACKAGES,rpi4-boot-switch)
@$(call add,THE_PACKAGES,rpi4-boot-nouboot-filetrigger)
@$(call add,THE_PACKAGES,rpi4-boot-uboot-filetrigger)
@$(call add,THE_PACKAGES,firmware-bcm4345)
@$(call add,THE_PACKAGES,pi-bluetooth)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
use/arm-rpi4/x11: use/arm-rpi4
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd hciuart)
use/arm-rpi4/kernel: use/arm-rpi4
ifeq (aarch64,$(ARCH))
@$(call set,KFLAVOURS,rpi-un rpi-def)
else
@$(call set,KFLAVOURS,rpi-def)
endif
use/arm-rpi4/full: use/arm-rpi4/kernel use/arm-rpi4/x11; @:
endif