mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
net: airoha: pcs: improve/fix building rules
pcs-airoha-common.o should not build unconditionally, also make building rules looks better. Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
This commit is contained in:
parent
d4dd6eb29b
commit
5b6b5d6f0b
@ -1,6 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-y += pcs-airoha-common.o
|
||||
ifdef CONFIG_PCS_AIROHA_AN7581
|
||||
obj-y += pcs-an7581.o
|
||||
endif
|
||||
obj-$(CONFIG_PCS_AIROHA) += pcs-airoha-common.o
|
||||
obj-$(CONFIG_PCS_AIROHA_AN7581) += pcs-an7581.o
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user