mkimage-profiles/features.in/arm-rpi4/config.mk

33 lines
977 B
Makefile
Raw Normal View History

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)
2020-04-02 13:51:45 +03:00
@$(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))
2021-03-04 19:20:31 +03:00
@$(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