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.
35 lines
1.0 KiB
35 lines
1.0 KiB
3 years ago
|
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,firmware-bcm4345)
|
||
|
|
||
|
use/arm-rpi4/x11: use/arm-rpi4
|
||
|
@$(call add,THE_PACKAGES,pi-bluetooth)
|
||
|
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd hciuart)
|
||
|
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
|
||
|
|
||
|
use/arm-rpi4/kernel: use/arm-rpi4
|
||
|
@$(call set,RPI_NOUBOOT,yes)
|
||
|
@$(call add,THE_PACKAGES,rpi4-boot-switch)
|
||
|
@$(call add,THE_PACKAGES,rpi4-boot-nouboot-filetrigger)
|
||
|
@$(call add,THE_PACKAGES,rpi4-boot-uboot-filetrigger)
|
||
|
@$(call xport,RPI_NOUBOOT)
|
||
|
ifeq (aarch64,$(ARCH))
|
||
|
@$(call set,KFLAVOURS,rpi-def rpi-un)
|
||
|
else
|
||
|
@$(call set,KFLAVOURS,rpi-def)
|
||
|
endif
|
||
|
|
||
|
use/arm-rpi4/full: use/arm-rpi4/kernel use/arm-rpi4/x11; @:
|
||
|
|
||
|
endif
|