mkimage-profiles/features.in/arm-rpi4/config.mk
2020-08-05 16:59:54 +07:00

35 lines
1.1 KiB
Makefile

ifeq (,$(filter-out aarch64 armh,$(ARCH)))
ifeq (aarch64,$(ARCH))
use/arm-rpi4: use/efi/grub use/uboot
else
use/arm-rpi4: use/bootloader/uboot
endif
@$(call add_feature)
@$(call set,VM_PARTTABLE,msdos)
@$(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,THE_PACKAGES,rpi4-resize-rootpart)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd attach-bluetooth)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
use/arm-rpi4/x11: use/arm-rpi4 \
use/browser/firefox/i18n use/browser/firefox/esr
@$(call add,THE_PACKAGES,celluloid celluloid-csd-disabled)
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