# # (C) Copyright 2007-2015 # Allwinner Technology Co., Ltd. # Jerry Wang # # See file CREDITS for list of people who contributed to this # project. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # SPDX-License-Identifier: GPL-2.0 # obj-y += sunxi_flash.o obj-$(CONFIG_SUNXI_MODULE_SDMMC) += sdmmc.o ifdef CONFIG_SUNXI_UBIFS obj-$(CONFIG_SUNXI_MODULE_NAND) += nand_ubifs.o else obj-$(CONFIG_SUNXI_MODULE_NAND) += nand.o endif obj-$(CONFIG_SUNXI_MODULE_SPINOR) += spinor.o subdir-ccflags-$(CONFIG_SUNXI_FINS_FUNC_DRIVER_SUNXI_FLASH_DIR) += -finstrument-functions