mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
Merge pull request #3860 from commodo/micropython-lib-workaround
micropython-lib: workaround the `install` build rule
This commit is contained in:
@@ -42,13 +42,12 @@ define Package/micropython-lib/description
|
||||
endef
|
||||
|
||||
MAKE_FLAGS:=\
|
||||
-C $(PKG_BUILD_DIR) \
|
||||
PREFIX=$(PKG_BUILD_DIR)/_install_tmp \
|
||||
PREFIX=$(PKG_BUILD_DIR)/_install_tmp/dist \
|
||||
install
|
||||
|
||||
define Package/micropython-lib/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/micropython
|
||||
$(CP) $(PKG_BUILD_DIR)/_install_tmp/* $(1)/usr/lib/micropython
|
||||
$(CP) $(PKG_BUILD_DIR)/_install_tmp/dist/* $(1)/usr/lib/micropython
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,micropython-lib))
|
||||
|
||||
Reference in New Issue
Block a user