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
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS:=\
|
MAKE_FLAGS:=\
|
||||||
-C $(PKG_BUILD_DIR) \
|
PREFIX=$(PKG_BUILD_DIR)/_install_tmp/dist \
|
||||||
PREFIX=$(PKG_BUILD_DIR)/_install_tmp \
|
|
||||||
install
|
install
|
||||||
|
|
||||||
define Package/micropython-lib/install
|
define Package/micropython-lib/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/micropython
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,micropython-lib))
|
$(eval $(call BuildPackage,micropython-lib))
|
||||||
|
|
Loading…
Reference in a new issue