OSDN Git Service

Update firmwares from linux-firmware.git
[android-x86/device-generic-firmware.git] / firmware.mk
1 #
2 # Copyright (C) 2016 The Android-x86 Open Source Project
3 #
4 # Licensed under the GNU General Public License Version 2 or later.
5 # You may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.gnu.org/licenses/gpl.html
9 #
10
11 LOCAL_FIRMWARES_DIR ?= $(LOCAL_PATH)
12 LOCAL_FIRMWARES ?= $(filter-out .git/% %.mk,$(subst ./,,$(shell cd $(LOCAL_FIRMWARES_DIR) && find . -type f)))
13
14 PRODUCT_COPY_FILES := \
15     $(foreach f,$(LOCAL_FIRMWARES),$(LOCAL_FIRMWARES_DIR)/$(f):system/lib/firmware/$(f))