omnia-eeprom: depend only on subtarget
authorRobert Marko <robimarko@gmail.com>
Mon, 18 Nov 2024 16:15:54 +0000 (17:15 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 18 Nov 2024 18:06:29 +0000 (19:06 +0100)
commit90de3b277b8e1d121b2f7023578979c6b616167f
tree9473e14dbbfbc23df07fbba342d5bcb037766eb1
parent7e287b563aa1043a1af54d5e2b0bd96326371732
omnia-eeprom: depend only on subtarget

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: 371e7bef4046 ("omnia-eeprom: Mark it nonshared")
Link: https://github.com/openwrt/openwrt/pull/17007
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/utils/omnia-eeprom/Makefile