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:
parent
f75245d9d0
commit
7164a32632
14
Config.in
14
Config.in
|
@ -264,10 +264,6 @@ config BR2_DEPRECATED
|
||||||
|
|
||||||
if BR2_DEPRECATED
|
if BR2_DEPRECATED
|
||||||
|
|
||||||
config BR2_DEPRECATED_SINCE_2012_11
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
config BR2_DEPRECATED_SINCE_2013_02
|
config BR2_DEPRECATED_SINCE_2013_02
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@ -476,16 +472,6 @@ config BR2_PREFER_STATIC_LIB
|
||||||
|
|
||||||
WARNING: This is highly experimental at the moment.
|
WARNING: This is highly experimental at the moment.
|
||||||
|
|
||||||
config BR2_HAVE_DOCUMENTATION
|
|
||||||
bool "documentation on the target"
|
|
||||||
# We no longer want to support a toolchain on the target
|
|
||||||
depends on BR2_DEPRECATED_SINCE_2012_11
|
|
||||||
help
|
|
||||||
Install the documentation, including manual pages and info
|
|
||||||
pages, on the target.
|
|
||||||
If you say n here, your target will not contain any
|
|
||||||
documentation.
|
|
||||||
|
|
||||||
config BR2_PACKAGE_OVERRIDE_FILE
|
config BR2_PACKAGE_OVERRIDE_FILE
|
||||||
string "location of a package override file"
|
string "location of a package override file"
|
||||||
default "$(TOPDIR)/local.mk"
|
default "$(TOPDIR)/local.mk"
|
||||||
|
|
|
@ -119,6 +119,13 @@ config BR2_sh3eb
|
||||||
Due to an inexistent user base and generally poor Linux
|
Due to an inexistent user base and generally poor Linux
|
||||||
support, the support for the SH3eb architecture was removed.
|
support, the support for the SH3eb architecture was removed.
|
||||||
|
|
||||||
|
config BR2_HAVE_DOCUMENTATION
|
||||||
|
bool "support for documentation on target has been removed"
|
||||||
|
select BR2_LEGACY
|
||||||
|
help
|
||||||
|
Support for documentation on target has been removed since it has
|
||||||
|
been deprecated for more than four buildroot releases.
|
||||||
|
|
||||||
config BR2_PACKAGE_AUTOMAKE
|
config BR2_PACKAGE_AUTOMAKE
|
||||||
bool "automake target package has been removed"
|
bool "automake target package has been removed"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -500,13 +500,11 @@ target-finalize:
|
||||||
ifneq ($(BR2_PACKAGE_GDB),y)
|
ifneq ($(BR2_PACKAGE_GDB),y)
|
||||||
rm -rf $(TARGET_DIR)/usr/share/gdb
|
rm -rf $(TARGET_DIR)/usr/share/gdb
|
||||||
endif
|
endif
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
|
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
|
||||||
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
|
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
|
||||||
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
||||||
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
||||||
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
||||||
endif
|
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY),y)
|
ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY),y)
|
||||||
find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -print0 | xargs -0 rm -f
|
find $(TARGET_DIR)/usr/lib/ -name '*.pyc' -print0 | xargs -0 rm -f
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -332,7 +332,6 @@ ifneq ($(BR2_LARGEFILE),y)
|
||||||
DISABLE_LARGEFILE= --disable-largefile
|
DISABLE_LARGEFILE= --disable-largefile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
# The configure option varies, but since unknown options are ignored
|
# The configure option varies, but since unknown options are ignored
|
||||||
# we can pass all of them.
|
# we can pass all of them.
|
||||||
DISABLE_DOCUMENTATION = \
|
DISABLE_DOCUMENTATION = \
|
||||||
|
@ -342,7 +341,6 @@ DISABLE_DOCUMENTATION = \
|
||||||
--disable-documentation \
|
--disable-documentation \
|
||||||
--with-xmlto=no \
|
--with-xmlto=no \
|
||||||
--with-fop=no
|
--with-fop=no
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_INET_IPV6),y)
|
ifeq ($(BR2_INET_IPV6),y)
|
||||||
DISABLE_IPV6= --enable-ipv6
|
DISABLE_IPV6= --enable-ipv6
|
||||||
|
|
|
@ -78,7 +78,7 @@ AVAHI_CONF_OPT = --localstatedir=/var \
|
||||||
--disable-monodoc \
|
--disable-monodoc \
|
||||||
--disable-stack-protector \
|
--disable-stack-protector \
|
||||||
--with-distro=none \
|
--with-distro=none \
|
||||||
$(if $(BR2_HAVE_DOCUMENTATION),--enable,--disable)-manpages \
|
--disable-manpages \
|
||||||
$(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \
|
$(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \
|
||||||
--with-avahi-user=default \
|
--with-avahi-user=default \
|
||||||
--with-avahi-group=default \
|
--with-avahi-group=default \
|
||||||
|
|
|
@ -54,14 +54,10 @@ BERKELEYDB_POST_INSTALL_TARGET_HOOKS += BERKELEYDB_REMOVE_TOOLS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
|
|
||||||
define BERKELEYDB_REMOVE_DOCS
|
define BERKELEYDB_REMOVE_DOCS
|
||||||
rm -rf $(TARGET_DIR)/usr/docs
|
rm -rf $(TARGET_DIR)/usr/docs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
BERKELEYDB_POST_INSTALL_TARGET_HOOKS += BERKELEYDB_REMOVE_DOCS
|
BERKELEYDB_POST_INSTALL_TARGET_HOOKS += BERKELEYDB_REMOVE_DOCS
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -35,13 +35,11 @@ else
|
||||||
ENLIGHTENMENT_CONF_ENV += enable_alsa=no
|
ENLIGHTENMENT_CONF_ENV += enable_alsa=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_HAVE_DOCUMENTATION),)
|
|
||||||
define ENLIGHTENMENT_REMOVE_DOCUMENTATION
|
define ENLIGHTENMENT_REMOVE_DOCUMENTATION
|
||||||
rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/
|
rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/
|
||||||
rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING
|
rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING
|
||||||
rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS
|
rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS
|
||||||
endef
|
endef
|
||||||
ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION
|
ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -69,7 +69,7 @@ FFMPEG_CONF_OPT = \
|
||||||
--disable-vis \
|
--disable-vis \
|
||||||
--disable-sram \
|
--disable-sram \
|
||||||
--disable-symver \
|
--disable-symver \
|
||||||
$(if $(BR2_HAVE_DOCUMENTATION),,--disable-doc)
|
--disable-doc
|
||||||
|
|
||||||
FFMPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
FFMPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||||
|
|
||||||
|
|
|
@ -15,15 +15,8 @@ define HDPARM_BUILD_CMDS
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)"
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
define HDPARM_INSTALL_DOCUMENTATION
|
|
||||||
$(INSTALL) -D $(@D)/hdparm.8 $(TARGET_DIR)/usr/share/man/man8/hdparm.8
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
|
|
||||||
define HDPARM_INSTALL_TARGET_CMDS
|
define HDPARM_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm
|
$(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm
|
||||||
$(HDPARM_INSTALL_DOCUMENTATION)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
|
@ -15,17 +15,13 @@ HOST_KMOD_DEPENDENCIES = host-pkgconf
|
||||||
KMOD_LICENSE = LGPLv2.1+
|
KMOD_LICENSE = LGPLv2.1+
|
||||||
KMOD_LICENSE_FILES = libkmod/COPYING
|
KMOD_LICENSE_FILES = libkmod/COPYING
|
||||||
|
|
||||||
|
KMOD_CONF_OPT += --disable-manpages
|
||||||
|
HOST_KMOD_CONF_OPT = --disable-manpages
|
||||||
|
|
||||||
# static linking not supported, see
|
# static linking not supported, see
|
||||||
# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
|
# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
|
||||||
KMOD_CONF_OPT = --disable-static --enable-shared
|
KMOD_CONF_OPT = --disable-static --enable-shared
|
||||||
|
|
||||||
# manpages not installed to host and needs xsltproc
|
|
||||||
HOST_KMOD_CONF_OPT = --disable-manpages
|
|
||||||
|
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
KMOD_CONF_OPT += --disable-manpages
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
KMOD_DEPENDENCIES += zlib
|
KMOD_DEPENDENCIES += zlib
|
||||||
KMOD_CONF_OPT += --with-zlib
|
KMOD_CONF_OPT += --with-zlib
|
||||||
|
|
|
@ -9,12 +9,6 @@ LIBBSD_SITE = http://libbsd.freedesktop.org/releases
|
||||||
LIBBSD_LICENSE = BSD-3c MIT
|
LIBBSD_LICENSE = BSD-3c MIT
|
||||||
LIBBSD_LICENSE_FILES = COPYING
|
LIBBSD_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
# man-pages are BSD-4c, so that license only matters
|
|
||||||
# if doc is kept in the target rootfs
|
|
||||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
LIBBSD_LICENSE += (libraries), BSD-4c (documentation)
|
|
||||||
endif
|
|
||||||
|
|
||||||
LIBBSD_INSTALL_STAGING = YES
|
LIBBSD_INSTALL_STAGING = YES
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -12,17 +12,4 @@ define LOGSURFER_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_DIR)/usr/bin/logsurfer
|
$(TARGET_DIR)/usr/bin/logsurfer
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
|
|
||||||
define LOGSURFER_INSTALL_TARGET_MAN
|
|
||||||
$(INSTALL) -D -m 0644 $(@D)/man/logsurfer.1 \
|
|
||||||
$(TARGET_DIR)/usr/man/man1/logsurfer.1
|
|
||||||
$(INSTALL) -D -m 0644 $(@D)/man/logsurfer.conf.4 \
|
|
||||||
$(TARGET_DIR)/usr/man/man4/logsurfer.conf.4
|
|
||||||
endef
|
|
||||||
|
|
||||||
LOGSURFER_POST_INSTALL_TARGET_HOOKS += LOGSURFER_INSTALL_TARGET_MAN
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -29,7 +29,7 @@ NCURSES_CONF_OPT = \
|
||||||
--enable-overwrite \
|
--enable-overwrite \
|
||||||
--enable-pc-files \
|
--enable-pc-files \
|
||||||
$(if $(BR2_PACKAGE_NCURSES_TARGET_PROGS),,--without-progs) \
|
$(if $(BR2_PACKAGE_NCURSES_TARGET_PROGS),,--without-progs) \
|
||||||
$(if $(BR2_HAVE_DOCUMENTATION),,--without-manpages)
|
--without-manpages
|
||||||
|
|
||||||
# Install after busybox for the full-blown versions
|
# Install after busybox for the full-blown versions
|
||||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||||
|
|
|
@ -22,7 +22,8 @@ NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp \
|
||||||
--with-sys-location="Unknown" \
|
--with-sys-location="Unknown" \
|
||||||
--with-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES))" \
|
--with-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES))" \
|
||||||
--with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \
|
--with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \
|
||||||
--with-out-transports="Unix"
|
--with-out-transports="Unix" \
|
||||||
|
--disable-manuals
|
||||||
NETSNMP_MAKE = $(MAKE1)
|
NETSNMP_MAKE = $(MAKE1)
|
||||||
NETSNMP_CONFIG_SCRIPTS = net-snmp-config
|
NETSNMP_CONFIG_SCRIPTS = net-snmp-config
|
||||||
|
|
||||||
|
@ -44,9 +45,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Docs
|
# Docs
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
NETSNMP_CONF_OPT += --disable-manuals
|
NETSNMP_CONF_OPT += --disable-manuals
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y)
|
ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y)
|
||||||
NETSNMP_CONF_OPT += --disable-mib-loading
|
NETSNMP_CONF_OPT += --disable-mib-loading
|
||||||
|
|
|
@ -12,7 +12,7 @@ OPENCV_INSTALL_STAGING = YES
|
||||||
OPENCV_CONF_OPT += \
|
OPENCV_CONF_OPT += \
|
||||||
-DCMAKE_BUILD_TYPE=$(if $(BR2_ENABLE_DEBUG),Debug,Release) \
|
-DCMAKE_BUILD_TYPE=$(if $(BR2_ENABLE_DEBUG),Debug,Release) \
|
||||||
-DBUILD_WITH_STATIC_CRT=OFF \
|
-DBUILD_WITH_STATIC_CRT=OFF \
|
||||||
-DBUILD_DOCS=$(if $(BR2_HAVE_DOCUMENTATION),ON,OFF) \
|
-DBUILD_DOCS=OFF \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_PACKAGE=OFF \
|
-DBUILD_PACKAGE=OFF \
|
||||||
-DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV_BUILD_TESTS),ON,OFF) \
|
-DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV_BUILD_TESTS),ON,OFF) \
|
||||||
|
@ -161,12 +161,10 @@ OPENCV_CONF_OPT += -DWITH_V4L=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Installation hooks:
|
# Installation hooks:
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
define OPENCV_CLEAN_INSTALL_DOC
|
define OPENCV_CLEAN_INSTALL_DOC
|
||||||
$(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/doc
|
$(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/doc
|
||||||
endef
|
endef
|
||||||
OPENCV_POST_INSTALL_TARGET_HOOKS += OPENCV_CLEAN_INSTALL_DOC
|
OPENCV_POST_INSTALL_TARGET_HOOKS += OPENCV_CLEAN_INSTALL_DOC
|
||||||
endif
|
|
||||||
|
|
||||||
define OPENCV_CLEAN_INSTALL_CMAKE
|
define OPENCV_CLEAN_INSTALL_CMAKE
|
||||||
$(RM) -f $(TARGET_DIR)/usr/share/OpenCV/OpenCVConfig*.cmake
|
$(RM) -f $(TARGET_DIR)/usr/share/OpenCV/OpenCVConfig*.cmake
|
||||||
|
|
|
@ -91,10 +91,6 @@ define PERL_INSTALL_STAGING_CMDS
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PERL_INSTALL_TARGET_GOALS = install.perl
|
PERL_INSTALL_TARGET_GOALS = install.perl
|
||||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
PERL_INSTALL_TARGET_GOALS += install.man
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
define PERL_INSTALL_TARGET_CMDS
|
define PERL_INSTALL_TARGET_CMDS
|
||||||
$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" $(PERL_INSTALL_TARGET_GOALS)
|
$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" $(PERL_INSTALL_TARGET_GOALS)
|
||||||
|
|
|
@ -12,8 +12,6 @@ PPPD_LICENSE_FILES = pppd/tdb.c pppd/plugins/pppoatm/COPYING \
|
||||||
pppdump/bsd-comp.c pppd/ccp.c pppd/plugins/passprompt.c
|
pppdump/bsd-comp.c pppd/ccp.c pppd/plugins/passprompt.c
|
||||||
|
|
||||||
PPPD_TARGET_BINS = chat pppd pppdump pppstats
|
PPPD_TARGET_BINS = chat pppd pppdump pppstats
|
||||||
PPPD_MANPAGES = $(if $(BR2_HAVE_DOCUMENTATION),chat pppd pppdump pppstats)
|
|
||||||
PPPD_RADIUS_MANPAGES = $(if $(BR2_HAVE_DOCUMENTATION),pppd-radattr pppd-radius)
|
|
||||||
PPPD_RADIUS_CONF = dictionary dictionary.ascend dictionary.compat \
|
PPPD_RADIUS_CONF = dictionary dictionary.ascend dictionary.compat \
|
||||||
dictionary.merit dictionary.microsoft \
|
dictionary.merit dictionary.microsoft \
|
||||||
issue port-id-map realms server radiusclient.conf
|
issue port-id-map realms server radiusclient.conf
|
||||||
|
@ -65,10 +63,6 @@ define PPPD_INSTALL_RADIUS
|
||||||
$(TARGET_DIR)/etc/ppp/radius/radiusclient.conf
|
$(TARGET_DIR)/etc/ppp/radius/radiusclient.conf
|
||||||
$(SED) 's:/etc/radiusclient:/etc/ppp/radius:g' \
|
$(SED) 's:/etc/radiusclient:/etc/ppp/radius:g' \
|
||||||
$(TARGET_DIR)/etc/ppp/radius/*
|
$(TARGET_DIR)/etc/ppp/radius/*
|
||||||
for m in $(PPPD_RADIUS_MANPAGES); do \
|
|
||||||
$(INSTALL) -m 644 -D $(PPPD_DIR)/pppd/plugins/radius/$$m.8 \
|
|
||||||
$(TARGET_DIR)/usr/share/man/man8/$$m.8; \
|
|
||||||
done
|
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -96,10 +90,6 @@ define PPPD_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/pppol2tp.so \
|
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/pppol2tp.so \
|
||||||
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppol2tp.so
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppol2tp.so
|
||||||
$(PPPD_INSTALL_RADIUS)
|
$(PPPD_INSTALL_RADIUS)
|
||||||
for m in $(PPPD_MANPAGES); do \
|
|
||||||
$(INSTALL) -m 644 -D $(PPPD_DIR)/$$m/$$m.8 \
|
|
||||||
$(TARGET_DIR)/usr/share/man/man8/$$m.8; \
|
|
||||||
done
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
|
@ -15,7 +15,7 @@ PULSEAUDIO_CONF_OPT = \
|
||||||
--disable-default-build-tests \
|
--disable-default-build-tests \
|
||||||
--disable-legacy-runtime-dir \
|
--disable-legacy-runtime-dir \
|
||||||
--disable-legacy-database-entry-format \
|
--disable-legacy-database-entry-format \
|
||||||
$(if $(BR2_HAVE_DOCUMENTATION),,--disable-manpages)
|
--disable-manpages
|
||||||
|
|
||||||
PULSEAUDIO_DEPENDENCIES = \
|
PULSEAUDIO_DEPENDENCIES = \
|
||||||
host-pkgconf libtool json-c libsndfile speex host-intltool \
|
host-pkgconf libtool json-c libsndfile speex host-intltool \
|
||||||
|
|
|
@ -82,13 +82,11 @@ define PYTHON_PYGAME_CONFIGURE_CMDS
|
||||||
$(PYTHON_PYGAME_UNCONFIGURE_SCRAP)
|
$(PYTHON_PYGAME_UNCONFIGURE_SCRAP)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
define PYTHON_PYGAME_REMOVE_DOC
|
define PYTHON_PYGAME_REMOVE_DOC
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs
|
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC
|
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC
|
||||||
endif
|
|
||||||
|
|
||||||
define PYTHON_PYGAME_REMOVE_TESTS
|
define PYTHON_PYGAME_REMOVE_TESTS
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests
|
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests
|
||||||
|
|
|
@ -157,10 +157,8 @@ endif
|
||||||
SAMBA_CONF_OPT += CFLAGS="$(TARGET_CFLAGS) -DMAX_DEBUG_LEVEL=$(BR2_PACKAGE_SAMBA_MAX_DEBUGLEVEL)"
|
SAMBA_CONF_OPT += CFLAGS="$(TARGET_CFLAGS) -DMAX_DEBUG_LEVEL=$(BR2_PACKAGE_SAMBA_MAX_DEBUGLEVEL)"
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SAMBA_SWAT),y)
|
ifeq ($(BR2_PACKAGE_SAMBA_SWAT),y)
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
|
SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
define SAMBA_INSTALL_INITSCRIPTS_CONFIG
|
define SAMBA_INSTALL_INITSCRIPTS_CONFIG
|
||||||
# install start/stop script
|
# install start/stop script
|
||||||
|
|
|
@ -20,8 +20,7 @@ UDISKS_DEPENDENCIES = \
|
||||||
lvm2 \
|
lvm2 \
|
||||||
libatasmart
|
libatasmart
|
||||||
|
|
||||||
UDISKS_CONF_OPT = --disable-remote-access \
|
UDISKS_CONF_OPT = --disable-remote-access --disable-man-pages
|
||||||
$(if $(BR2_HAVE_DOCUMENTATION),,--disable-man-pages)
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
|
ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
|
||||||
UDISKS_CONF_OPT += --enable-lvm2
|
UDISKS_CONF_OPT += --enable-lvm2
|
||||||
|
|
|
@ -15,15 +15,9 @@ VALA_LICENSE_FILES = COPYING
|
||||||
VALA_DEPENDENCIES = host-flex host-bison libglib2 \
|
VALA_DEPENDENCIES = host-flex host-bison libglib2 \
|
||||||
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
||||||
|
|
||||||
# If we want the documentation, then xsltproc is needed. If we don't
|
# Force Vala to not use the host xsltproc even if available, because it may or
|
||||||
# want the documentation, force Vala to not use the host xsltproc even
|
# may not work with Vala documentation (some versions of xsltproc segfault)
|
||||||
# if available, because it may or may not work with Vala documentation
|
|
||||||
# (some versions of xsltproc segfault)
|
|
||||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
VALA_DEPENDENCIES += host-libxslt
|
|
||||||
else
|
|
||||||
VALA_CONF_ENV = ac_cv_path_XSLTPROC=:
|
VALA_CONF_ENV = ac_cv_path_XSLTPROC=:
|
||||||
endif
|
|
||||||
|
|
||||||
HOST_VALA_DEPENDENCIES = host-flex host-libglib2
|
HOST_VALA_DEPENDENCIES = host-flex host-libglib2
|
||||||
# Yes, the autoconf script understands ':' as "xsltproc is not
|
# Yes, the autoconf script understands ':' as "xsltproc is not
|
||||||
|
|
|
@ -42,9 +42,7 @@ endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y)
|
ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y)
|
||||||
VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS
|
VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS
|
||||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
|
||||||
VIM_POST_INSTALL_TARGET_HOOKS += VIM_REMOVE_DOCS
|
VIM_POST_INSTALL_TARGET_HOOKS += VIM_REMOVE_DOCS
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -10,7 +10,7 @@ XPROTO_XCMISCPROTO_SITE = http://xorg.freedesktop.org/releases/individual/proto
|
||||||
XPROTO_XCMISCPROTO_LICENSE = MIT
|
XPROTO_XCMISCPROTO_LICENSE = MIT
|
||||||
XPROTO_XCMISCPROTO_LICENSE_FILES = COPYING
|
XPROTO_XCMISCPROTO_LICENSE_FILES = COPYING
|
||||||
XPROTO_XCMISCPROTO_INSTALL_STAGING = YES
|
XPROTO_XCMISCPROTO_INSTALL_STAGING = YES
|
||||||
XPROTO_XCMISCPROTO_CONF_OPT = $(if $(BR2_HAVE_DOCUMENTATION),,--disable-specs)
|
XPROTO_XCMISCPROTO_CONF_OPT = --disable-specs
|
||||||
HOST_XPROTO_XCMISCPROTO_CONF_OPT = --disable-specs
|
HOST_XPROTO_XCMISCPROTO_CONF_OPT = --disable-specs
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
|
@ -10,7 +10,7 @@ XPROTO_XEXTPROTO_SITE = http://xorg.freedesktop.org/releases/individual/proto
|
||||||
XPROTO_XEXTPROTO_LICENSE = MIT
|
XPROTO_XEXTPROTO_LICENSE = MIT
|
||||||
XPROTO_XEXTPROTO_LICENSE_FILES = COPYING
|
XPROTO_XEXTPROTO_LICENSE_FILES = COPYING
|
||||||
XPROTO_XEXTPROTO_INSTALL_STAGING = YES
|
XPROTO_XEXTPROTO_INSTALL_STAGING = YES
|
||||||
XPROTO_XEXTPROTO_CONF_OPT = $(if $(BR2_HAVE_DOCUMENTATION),,--disable-specs)
|
XPROTO_XEXTPROTO_CONF_OPT = --disable-specs
|
||||||
HOST_XPROTO_XEXTPROTO_CONF_OPT = --disable-specs
|
HOST_XPROTO_XEXTPROTO_CONF_OPT = --disable-specs
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user