wireless-regdb: prefer python provided by make variable
authorPetr Štetiar <ynezz@true.cz>
Mon, 18 Mar 2019 21:40:36 +0000 (21:40 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Nov 2019 00:10:48 +0000 (01:10 +0100)
Usage of predefined make variables is preferred.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit d3853d17a37a67541736b8b13f412a49ab382b9a)

package/firmware/wireless-regdb/Makefile

index 7fc895ba616bddffa07213675c1af758c68f46a9..715c5ecda29c440a8e19510c17b42729ce33a076 100644 (file)
@@ -19,7 +19,7 @@ define Package/wireless-regdb
 endef
 
 define Build/Compile
-       python $(PKG_BUILD_DIR)/db2fw.py $(PKG_BUILD_DIR)/regulatory.db $(PKG_BUILD_DIR)/db.txt
+       $(PYTHON) $(PKG_BUILD_DIR)/db2fw.py $(PKG_BUILD_DIR)/regulatory.db $(PKG_BUILD_DIR)/db.txt
 endef
 
 define Package/wireless-regdb/install