diff options
| author | Mikhail Kshevetskiy <[email protected]> | 2026-02-11 21:22:22 +0300 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2026-03-12 12:49:35 +0100 |
| commit | 5b6b5d6f0b33b8281d34aee2ddcb43fb9fa5b10b (patch) | |
| tree | 228a33aed59412d161f5885f350d1a5427d4ef35 /drivers | |
| parent | d4dd6eb29bdaf6e0bd9858760c1bb23951398b49 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/airoha/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/airoha/Makefile b/drivers/net/airoha/Makefile index 27f2969434c..81fd26cf813 100644 --- a/drivers/net/airoha/Makefile +++ b/drivers/net/airoha/Makefile @@ -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 |
