Merge pull request #3860 from commodo/micropython-lib-workaround

micropython-lib: workaround the `install` build rule
This commit is contained in:
Hannu Nyman 2017-02-17 10:03:04 +02:00 committed by GitHub
commit 9c176d0b35

View file

@ -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))