mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-02 21:48:20 +03:00
packages: remove support for documentation on target
This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f75245d9d0
commit
7164a32632
@@ -82,13 +82,11 @@ define PYTHON_PYGAME_CONFIGURE_CMDS
|
||||
$(PYTHON_PYGAME_UNCONFIGURE_SCRAP)
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
define PYTHON_PYGAME_REMOVE_DOC
|
||||
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs
|
||||
endef
|
||||
|
||||
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC
|
||||
endif
|
||||
|
||||
define PYTHON_PYGAME_REMOVE_TESTS
|
||||
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests
|
||||
|
||||
Reference in New Issue
Block a user