Merge pull request #3860 from commodo/micropython-lib-workaround
micropython-lib: workaround the `install` build rule
This commit is contained in:
commit
9c176d0b35
1 changed files with 2 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue