33 lines
992 B
Makefile
33 lines
992 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,brcm-patchram-plus)
|
|
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
|
|
|
|
use/arm-rpi4/x11: use/arm-rpi4
|
|
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd attach-bluetooth)
|
|
|
|
use/arm-rpi4/kernel: use/arm-rpi4
|
|
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
|