|
|
|
|
99
|
define Build/Configure
|
99
|
define Build/Configure
|
100
|
-$(MAKE) -C $(PKG_BUILD_DIR) distclean
|
100
|
-$(MAKE) -C $(PKG_BUILD_DIR) distclean
|
101
|
(cd $(PKG_BUILD_DIR); autoreconf --force --install || exit 0)
|
101
|
(cd $(PKG_BUILD_DIR); autoreconf --force --install || exit 0)
|
102
|
- # The python executable needs to stay in the rootdir since its location will
|
|
|
103
|
- # be used to compute the path of the config files.
|
|
|
104
|
$(CP) ./files/config.site $(PKG_BUILD_DIR)
|
102
|
$(CP) ./files/config.site $(PKG_BUILD_DIR)
|
105
|
$(call Build/Configure/Default, \
|
103
|
$(call Build/Configure/Default, \
|
106
|
--sysconfdir=/etc \
|
104
|
--sysconfdir=/etc \
|
|
|
|
|
158
|
define Py3Package/python3/install
|
156
|
define Py3Package/python3/install
|
159
|
# Adding the lib-dynload folder (even just empty) suppresses 2 warnings when starting Python
|
157
|
# Adding the lib-dynload folder (even just empty) suppresses 2 warnings when starting Python
|
160
|
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/lib-dynload/
|
158
|
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/lib-dynload/
|
|
|
159
|
+ $(LN) python$(PYTHON_VERSION) $(1)/usr/bin/python3
|
161
|
endef
|
160
|
endef
|
162
|
|
161
|
|
163
|
define Host/Configure
|
162
|
define Host/Configure
|