Skip to content

Commit

Permalink
omnia-eeprom: depend only on subtarget
Browse files Browse the repository at this point in the history
Now that omnia-eeprom is marked nonshared building the cortex-a9 mvebu
subtarget will fail with:
ERROR: unable to select packages:
  omnia-eeprom (no such package):
    required by: world[omnia-eeprom]

This is because omnia-eeprom depends on TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia
which will not be satisfied in buildbots since CONFIG_TARGET_ALL_PROFILES
and CONFIG_TARGET_PER_DEVICE_ROOTFS are set in which case
CONFIG_TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia is not set.

So, lets simply depend on the mvebu/cortex-a9 subtarget.

Fixes: 371e7be ("omnia-eeprom: Mark it nonshared")
Link: openwrt/openwrt#17007
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
robimarko committed Nov 18, 2024
1 parent 7e287b5 commit 90de3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/utils/omnia-eeprom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define Package/omnia-eeprom
CATEGORY:=Utilities
URL:=https://gitlab.nic.cz/turris/omnia-eeprom
TITLE:=CZ.NIC Turris Omnia EEPROM accessing utility
DEPENDS:=@TARGET_mvebu_cortexa9_DEVICE_cznic_turris-omnia +kmod-eeprom-at24
DEPENDS:=@TARGET_mvebu_cortexa9 +kmod-eeprom-at24
endef

define Package/omnia-eeprom/description
Expand Down

0 comments on commit 90de3b2

Please sign in to comment.