Skip to content
Snippets Groups Projects
  • Sungbo Eo's avatar
    6508766d
    kernel: make kmod-i2c-mux selected by dependent modules · 6508766d
    Sungbo Eo authored
    
    Currently kmod-i2c-mux-* will not get into images unless kmod-i2c-mux is added
    to DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to
    "select", we do not have the issue anymore.
    
    Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES
    and similar variables, as it is now pulled by dependent modules such as:
    - kmod-i2c-mux-pca954x
    
    Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
    6508766d
    History
    kernel: make kmod-i2c-mux selected by dependent modules
    Sungbo Eo authored
    
    Currently kmod-i2c-mux-* will not get into images unless kmod-i2c-mux is added
    to DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to
    "select", we do not have the issue anymore.
    
    Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES
    and similar variables, as it is now pulled by dependent modules such as:
    - kmod-i2c-mux-pca954x
    
    Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
cortexa72.mk 982 B
define Device/marvell_armada7040-db
  $(call Device/Default-arm64)
  DEVICE_VENDOR := Marvell
  DEVICE_MODEL := Armada 7040 Development Board
  DEVICE_DTS := armada-7040-db
  IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef
TARGET_DEVICES += marvell_armada7040-db

define Device/marvell_armada8040-db
  $(call Device/Default-arm64)
  DEVICE_VENDOR := Marvell
  DEVICE_MODEL := Armada 8040 Development Board
  DEVICE_DTS := armada-8040-db
  IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef
TARGET_DEVICES += marvell_armada8040-db

define Device/marvell_macchiatobin
  $(call Device/Default-arm64)
  DEVICE_VENDOR := SolidRun
  DEVICE_MODEL := MACCHIATObin
  DEVICE_ALT0_VENDOR := SolidRun
  DEVICE_ALT0_MODEL := Armada 8040 Community Board
  DEVICE_PACKAGES += kmod-i2c-mux-pca954x
  DEVICE_DTS := armada-8040-mcbin
  SUPPORTED_DEVICES := marvell,armada8040-mcbin
endef
TARGET_DEVICES += marvell_macchiatobin