Browse Source

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

micropython-lib: workaround the `install` build rule
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
9c176d0b35
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      lang/micropython-lib/Makefile

+ 2
- 3
lang/micropython-lib/Makefile 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))


Loading…
Cancel
Save