Simon Guinot | 5628fb7 | 2011-11-21 19:25:46 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> |
| 3 | # |
| 4 | # Based on Kirkwood support: |
| 5 | # (C) Copyright 2009 |
| 6 | # Marvell Semiconductor <www.marvell.com> |
| 7 | # Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
| 8 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Guinot | 5628fb7 | 2011-11-21 19:25:46 +0530 | [diff] [blame] | 10 | # |
| 11 | |
Simon Guinot | 77ea071 | 2011-11-21 19:25:47 +0530 | [diff] [blame] | 12 | ifneq ($(OBJTREE),$(SRCTREE)) |
| 13 | $(shell mkdir -p $(obj)../common) |
| 14 | endif |
Simon Guinot | 5628fb7 | 2011-11-21 19:25:46 +0530 | [diff] [blame] | 15 | |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 16 | obj-y := net2big_v2.o ../common/common.o |
Simon Guinot | 7737c99 | 2013-06-18 15:14:50 +0200 | [diff] [blame] | 17 | ifneq ($(and $(CONFIG_KIRKWOOD_GPIO),$(CONFIG_NET2BIG_V2)),) |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 18 | obj-y += ../common/cpld-gpio-bus.o |
Simon Guinot | 7737c99 | 2013-06-18 15:14:50 +0200 | [diff] [blame] | 19 | endif |