package: remove useless arguments from AUTOTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2011-09-29 21:57:43 +02:00 committed by Peter Korsgaard
parent 0849e8193e
commit 300f9c9c9d
587 changed files with 660 additions and 663 deletions

View File

@ -82,4 +82,4 @@ define GRUB_UNINSTALL_TARGET_CMDS
rm -rf $(TARGET_DIR)/boot/grub rm -rf $(TARGET_DIR)/boot/grub
endef endef
$(eval $(call AUTOTARGETS,boot,grub)) $(eval $(call AUTOTARGETS))

View File

@ -294,15 +294,13 @@ endef
################################################################################ ################################################################################
# AUTOTARGETS -- the target generator macro for autotools packages # AUTOTARGETS -- the target generator macro for autotools packages
# #
# Argument 1 is the package directory prefix [mandatory] # Argument 1 is "target" or "host" [optional, default: "target"]
# Argument 2 is the lowercase package name [mandatory]
# Argument 3 is "target" or "host" [optional, default: "target"]
################################################################################ ################################################################################
define AUTOTARGETS define AUTOTARGETS
ifeq ($(3),host) ifeq ($(1),host)
$(call AUTOTARGETS_INNER,$(3)-$(2),$(call UPPERCASE,$(3)-$(2)),$(call UPPERCASE,$(2)),$(1),host) $(call AUTOTARGETS_INNER,$(1)-$(call pkgname),$(call UPPERCASE,$(1)-$(call pkgname)),$(call UPPERCASE,$(call pkgname)),$(call pkgparentdir),host)
else else
$(call AUTOTARGETS_INNER,$(2),$(call UPPERCASE,$(2)),$(call UPPERCASE,$(2)),$(1),target) $(call AUTOTARGETS_INNER,$(call pkgname),$(call UPPERCASE,$(call pkgname)),$(call UPPERCASE,$(call pkgname)),$(call pkgparentdir),target)
endif endif
endef endef

View File

@ -25,4 +25,4 @@ ACL_INSTALL_TARGET_OPT = \
exec_prefix=$(TARGET_DIR)/usr \ exec_prefix=$(TARGET_DIR)/usr \
install install-lib install install-lib
$(eval $(call AUTOTARGETS,package,acl)) $(eval $(call AUTOTARGETS))

View File

@ -14,5 +14,5 @@ ALSAMIXERGUI_CONF_ENV = ac_cv_lib_fltk_numericsort=yes \
ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
$(eval $(call AUTOTARGETS,package,alsamixergui)) $(eval $(call AUTOTARGETS))

View File

@ -18,4 +18,4 @@ define ARGP_STANDALONE_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/argp.h $(TARGET_DIR)/usr/include/argp.h $(INSTALL) -D $(@D)/argp.h $(TARGET_DIR)/usr/include/argp.h
endef endef
$(eval $(call AUTOTARGETS,package,argp-standalone)) $(eval $(call AUTOTARGETS))

View File

@ -17,4 +17,4 @@ endef
ARGUS_POST_PATCH_HOOKS += ARGUS_DEBIAN_PATCH_APPLY ARGUS_POST_PATCH_HOOKS += ARGUS_DEBIAN_PATCH_APPLY
$(eval $(call AUTOTARGETS,package,argus)) $(eval $(call AUTOTARGETS))

View File

@ -41,4 +41,4 @@ define AT_UNINSTALL_TARGET_CMDS
at.1 atq.1 atrm.1 batch.1 at_allow.5 at_deny.5 atd.8 atrun.8) at.1 atq.1 atrm.1 batch.1 at_allow.5 at_deny.5 atd.8 atrun.8)
endef endef
$(eval $(call AUTOTARGETS,package,at)) $(eval $(call AUTOTARGETS))

View File

@ -57,5 +57,5 @@ HOST_ATK_DEPENDENCIES = host-libglib2 host-pkg-config
HOST_ATK_CONF_OPT = \ HOST_ATK_CONF_OPT = \
--disable-glibtest --disable-glibtest
$(eval $(call AUTOTARGETS,package,atk)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,atk,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -24,4 +24,4 @@ ATTR_INSTALL_TARGET_OPT = \
exec_prefix=$(TARGET_DIR)/usr \ exec_prefix=$(TARGET_DIR)/usr \
install install-lib install install-lib
$(eval $(call AUTOTARGETS,package,attr)) $(eval $(call AUTOTARGETS))

View File

@ -17,8 +17,8 @@ HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
$(eval $(call AUTOTARGETS,package,autoconf)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,autoconf,host)) $(eval $(call AUTOTARGETS,host))
# variables used by other packages # variables used by other packages
AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf

View File

@ -23,8 +23,8 @@ endef
HOST_AUTOMAKE_POST_INSTALL_HOOKS += GTK_DOC_M4_INSTALL HOST_AUTOMAKE_POST_INSTALL_HOOKS += GTK_DOC_M4_INSTALL
HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_MAKE_ACLOCAL HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_MAKE_ACLOCAL
$(eval $(call AUTOTARGETS,package,automake)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,automake,host)) $(eval $(call AUTOTARGETS,host))
# variables used by other packages # variables used by other packages
AUTOMAKE = $(HOST_DIR)/usr/bin/automake AUTOMAKE = $(HOST_DIR)/usr/bin/automake

View File

@ -164,4 +164,4 @@ ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_INSTALL_DAEMON_INITSCRIPT AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_INSTALL_DAEMON_INITSCRIPT
endif endif
$(eval $(call AUTOTARGETS,package,avahi)) $(eval $(call AUTOTARGETS))

View File

@ -34,4 +34,4 @@ define BASH_UNINSTALL_TARGET_CMDS
fi fi
endef endef
$(eval $(call AUTOTARGETS,package,bash)) $(eval $(call AUTOTARGETS))

View File

@ -13,4 +13,4 @@ BEECRYPT_CONF_OPT = --without-cplusplus \
--without-python \ --without-python \
--disable-rpath --disable-rpath
$(eval $(call AUTOTARGETS,package,beecrypt)) $(eval $(call AUTOTARGETS))

View File

@ -52,4 +52,4 @@ BERKELEYDB_POST_INSTALL_TARGET_HOOKS += BERKELEYDB_REMOVE_DOCS
endif endif
$(eval $(call AUTOTARGETS,package,berkeleydb)) $(eval $(call AUTOTARGETS))

View File

@ -55,4 +55,4 @@ define BIND_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/etc/init.d/S81named rm -f $(TARGET_DIR)/etc/init.d/S81named
endef endef
$(eval $(call AUTOTARGETS,package,bind)) $(eval $(call AUTOTARGETS))

View File

@ -51,5 +51,5 @@ define BINUTILS_INSTALL_TARGET_CMDS
DESTDIR=$(TARGET_DIR) install DESTDIR=$(TARGET_DIR) install
endef endef
$(eval $(call AUTOTARGETS,package,binutils)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,binutils,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -13,5 +13,5 @@ endef
BISON_POST_CONFIGURE_HOOKS += BISON_DISABLE_EXAMPLES BISON_POST_CONFIGURE_HOOKS += BISON_DISABLE_EXAMPLES
$(eval $(call AUTOTARGETS,package,bison)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,bison,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -20,4 +20,4 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
BLACKBOX_DEPENDENCIES += libiconv BLACKBOX_DEPENDENCIES += libiconv
endif endif
$(eval $(call AUTOTARGETS,package,blackbox)) $(eval $(call AUTOTARGETS))

View File

@ -43,4 +43,4 @@ BLUEZ_UTILS_CONF_OPT += \
--disable-usb --disable-usb
endif endif
$(eval $(call AUTOTARGETS,package,bluez_utils)) $(eval $(call AUTOTARGETS))

View File

@ -29,4 +29,4 @@ define BMON_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/bmon rm -f $(TARGET_DIR)/usr/bin/bmon
endef endef
$(eval $(call AUTOTARGETS,package,bmon)) $(eval $(call AUTOTARGETS))

View File

@ -25,4 +25,4 @@ define BOA_UNINSTALL_TARGET_CMDS
$(TARGET_DIR)/etc/mime.types $(TARGET_DIR)/etc/boa $(TARGET_DIR)/etc/mime.types $(TARGET_DIR)/etc/boa
endef endef
$(eval $(call AUTOTARGETS,package,boa)) $(eval $(call AUTOTARGETS))

View File

@ -15,4 +15,4 @@ define BONNIE_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/sbin/bonnie++ $(TARGET_DIR)/usr/sbin/zcav rm -f $(TARGET_DIR)/usr/sbin/bonnie++ $(TARGET_DIR)/usr/sbin/zcav
endef endef
$(eval $(call AUTOTARGETS,package,bonnie)) $(eval $(call AUTOTARGETS))

View File

@ -8,4 +8,4 @@ BOOTUTILS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge
BOOTUTILS_CONF_OPT = --prefix=/ --exec-prefix=/ BOOTUTILS_CONF_OPT = --prefix=/ --exec-prefix=/
$(eval $(call AUTOTARGETS,package,bootutils)) $(eval $(call AUTOTARGETS))

View File

@ -15,4 +15,4 @@ define BRIDGE_UTILS_UNINSTALL_TARGET_CMDS
include/libbridge.h share/man/man8/brctl.8 sbin/brctl) include/libbridge.h share/man/man8/brctl.8 sbin/brctl)
endef endef
$(eval $(call AUTOTARGETS,package,bridge-utils)) $(eval $(call AUTOTARGETS))

View File

@ -13,4 +13,4 @@ BWM_NG_CONF_OPT += --with-ncurses
BWM_NG_DEPENDENCIES += ncurses BWM_NG_DEPENDENCIES += ncurses
endif endif
$(eval $(call AUTOTARGETS,package,bwm-ng)) $(eval $(call AUTOTARGETS))

View File

@ -87,4 +87,4 @@ HOST_CAIRO_CONF_OPT = \
--disable-png \ --disable-png \
--disable-svg --disable-svg
$(eval $(call AUTOTARGETS,package,cairo)) $(eval $(call AUTOTARGETS))

View File

@ -8,4 +8,4 @@ CAN_UTILS_VERSION = 1235
CAN_UTILS_SITE = svn://svn.berlios.de/socketcan/trunk/can-utils CAN_UTILS_SITE = svn://svn.berlios.de/socketcan/trunk/can-utils
CAN_UTILS_AUTORECONF = YES CAN_UTILS_AUTORECONF = YES
$(eval $(call AUTOTARGETS,package,can-utils)) $(eval $(call AUTOTARGETS))

View File

@ -23,8 +23,8 @@ endef
HOST_CCACHE_POST_CONFIGURE_HOOKS += \ HOST_CCACHE_POST_CONFIGURE_HOOKS += \
HOST_CCACHE_FIX_CCACHE_DIR HOST_CCACHE_FIX_CCACHE_DIR
$(eval $(call AUTOTARGETS,package,ccache)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,ccache,host)) $(eval $(call AUTOTARGETS,host))
ifeq ($(BR2_CCACHE),y) ifeq ($(BR2_CCACHE),y)
ccache-stats: host-ccache ccache-stats: host-ccache

View File

@ -2,4 +2,4 @@ CIFS_UTILS_VERSION = 5.1
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2 CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
CIFS_UTILS_SITE = ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/ CIFS_UTILS_SITE = ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/
$(eval $(call AUTOTARGETS,package,cifs-utils)) $(eval $(call AUTOTARGETS))

View File

@ -78,4 +78,4 @@ COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_POST_INSTALL
# If both coreutils and busybox are selected, the corresponding applets # If both coreutils and busybox are selected, the corresponding applets
# may need to be reinstated by the clean targets. # may need to be reinstated by the clean targets.
$(eval $(call AUTOTARGETS,package,coreutils)) $(eval $(call AUTOTARGETS))

View File

@ -6,4 +6,4 @@ CROSSTOOL_NG_INSTALL_TARGET = NO
CROSSTOOL_NG_MAKE = $(MAKE1) CROSSTOOL_NG_MAKE = $(MAKE1)
HOST_CROSSTOOL_NG_DEPENDENCIES = host-gawk host-automake $(if $(BR2_CCACHE),host-ccache) HOST_CROSSTOOL_NG_DEPENDENCIES = host-gawk host-automake $(if $(BR2_CCACHE),host-ccache)
$(eval $(call AUTOTARGETS,package,crosstool-ng,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -14,4 +14,4 @@ else
CTORRENT_CONF_OPT+=--with-ssl=no CTORRENT_CONF_OPT+=--with-ssl=no
endif endif
$(eval $(call AUTOTARGETS,package,ctorrent)) $(eval $(call AUTOTARGETS))

View File

@ -48,6 +48,6 @@ define CVS_INSTALL_TARGET_CMDS
install -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs install -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs
endef endef
$(eval $(call AUTOTARGETS,package,cvs)) $(eval $(call AUTOTARGETS))

View File

@ -17,4 +17,4 @@ define DASH_CLEAN_CMDS
rm -f $(TARGET_DIR)/bin/dash rm -f $(TARGET_DIR)/bin/dash
endef endef
$(eval $(call AUTOTARGETS,package,dash)) $(eval $(call AUTOTARGETS))

View File

@ -32,8 +32,8 @@ HOST_DBUS_GLIB_CONF_OPT = \
--disable-doxygen-docs \ --disable-doxygen-docs \
--enable-asserts=yes --enable-asserts=yes
$(eval $(call AUTOTARGETS,package,dbus-glib)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,dbus-glib,host)) $(eval $(call AUTOTARGETS,host))
# dbus-glib for the host # dbus-glib for the host
DBUS_GLIB_HOST_BINARY:=$(HOST_DIR)/usr/bin/dbus-binding-tool DBUS_GLIB_HOST_BINARY:=$(HOST_DIR)/usr/bin/dbus-binding-tool

View File

@ -21,4 +21,4 @@ DBUS_PYTHON_CONF_OPT = --disable-html-docs --disable-api-docs
DBUS_PYTHON_DEPENDENCIES = dbus-glib python host-python DBUS_PYTHON_DEPENDENCIES = dbus-glib python host-python
$(eval $(call AUTOTARGETS,package,dbus-python)) $(eval $(call AUTOTARGETS))

View File

@ -84,5 +84,5 @@ HOST_DBUS_GEN_INTROSPECT = \
HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT
$(eval $(call AUTOTARGETS,package,dbus)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,dbus,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -61,4 +61,4 @@ define DHCP_INSTALL_TARGET_CMDS
$(DHCP_INSTALL_CLIENT) $(DHCP_INSTALL_CLIENT)
endef endef
$(eval $(call AUTOTARGETS,package,dhcp)) $(eval $(call AUTOTARGETS))

View File

@ -23,4 +23,4 @@ define DIALOG_POST_CLEAN
rm -f $(TARGET_DIR)/usr/bin/dialog rm -f $(TARGET_DIR)/usr/bin/dialog
endef endef
$(eval $(call AUTOTARGETS,package,dialog)) $(eval $(call AUTOTARGETS))

View File

@ -61,4 +61,4 @@ DIFFUTILS_CONF_ENV = ac_cv_func_strtod=yes
jm_cv_func_working_re_compile_pattern=yes \ jm_cv_func_working_re_compile_pattern=yes \
ac_use_included_regex=no ac_use_included_regex=no
$(eval $(call AUTOTARGETS,package,diffutils)) $(eval $(call AUTOTARGETS))

View File

@ -101,5 +101,5 @@ define DIRECTFB_EXAMPLES_INSTALL_TARGET_CMDS
done done
endef endef
$(eval $(call AUTOTARGETS,package,directfb-examples)) $(eval $(call AUTOTARGETS))

View File

@ -140,8 +140,8 @@ endef
DIRECTFB_POST_INSTALL_STAGING_HOOKS += DIRECTFB_STAGING_CONFIG_FIXUP DIRECTFB_POST_INSTALL_STAGING_HOOKS += DIRECTFB_STAGING_CONFIG_FIXUP
$(eval $(call AUTOTARGETS,package,directfb)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,directfb,host)) $(eval $(call AUTOTARGETS,host))
# directfb-csource for the host # directfb-csource for the host
DIRECTFB_HOST_BINARY:=$(HOST_DIR)/usr/bin/directfb-csource DIRECTFB_HOST_BINARY:=$(HOST_DIR)/usr/bin/directfb-csource

View File

@ -20,4 +20,4 @@ define DISTCC_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call AUTOTARGETS,package,distcc)) $(eval $(call AUTOTARGETS))

View File

@ -11,4 +11,4 @@ DIVINE_INSTALL_STAGING = YES
DIVINE_INSTALL_TARGET = YES DIVINE_INSTALL_TARGET = YES
DIVINE_DEPENDENCIES = directfb DIVINE_DEPENDENCIES = directfb
$(eval $(call AUTOTARGETS,package,divine)) $(eval $(call AUTOTARGETS))

View File

@ -55,4 +55,4 @@ define DMALLOC_CLEAN_CMDS
endef endef
$(eval $(call AUTOTARGETS,package,dmalloc)) $(eval $(call AUTOTARGETS))

View File

@ -26,4 +26,4 @@ define DMRAID_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/etc/init.d/S20dmraid rm -f $(TARGET_DIR)/etc/init.d/S20dmraid
endef endef
$(eval $(call AUTOTARGETS,package,dmraid)) $(eval $(call AUTOTARGETS))

View File

@ -21,4 +21,4 @@ DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
DOCKER_DEPENDENCIES = host-pkg-config libglib2 xserver_xorg-server DOCKER_DEPENDENCIES = host-pkg-config libglib2 xserver_xorg-server
$(eval $(call AUTOTARGETS,package,docker)) $(eval $(call AUTOTARGETS))

View File

@ -62,4 +62,4 @@ define DROPBEAR_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/etc/init.d/S50dropbear rm -f $(TARGET_DIR)/etc/init.d/S50dropbear
endef endef
$(eval $(call AUTOTARGETS,package,dropbear)) $(eval $(call AUTOTARGETS))

View File

@ -99,5 +99,5 @@ ifeq ($(BR2_PACKAGE_E2FSPROGS_FINDFS),y)
E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_FINDFS_SYMLINK E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_FINDFS_SYMLINK
endif endif
$(eval $(call AUTOTARGETS,package,e2fsprogs)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,e2fsprogs,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -9,4 +9,4 @@ ED_SITE = $(BR2_GNU_MIRROR)/ed
ED_CONF_OPT = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ ED_CONF_OPT = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
$(eval $(call AUTOTARGETS,package,ed)) $(eval $(call AUTOTARGETS))

View File

@ -12,4 +12,4 @@ ENCHANT_INSTALL_TARGET = YES
ENCHANT_DEPENDENCIES = libglib2 host-pkg-config ENCHANT_DEPENDENCIES = libglib2 host-pkg-config
$(eval $(call AUTOTARGETS,package,enchant)) $(eval $(call AUTOTARGETS))

View File

@ -7,4 +7,4 @@
ETHTOOL_VERSION = 3.0 ETHTOOL_VERSION = 3.0
ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool/ ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool/
$(eval $(call AUTOTARGETS,package,ethtool)) $(eval $(call AUTOTARGETS))

View File

@ -14,5 +14,5 @@ EXPAT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) installlib
EXPAT_DEPENDENCIES = host-pkg-config EXPAT_DEPENDENCIES = host-pkg-config
$(eval $(call AUTOTARGETS,package,expat)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,expat,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -18,5 +18,5 @@ FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
# The package for the target cannot be selected (build problems when # The package for the target cannot be selected (build problems when
# largefile is enabled), but is needed for the host package to work # largefile is enabled), but is needed for the host package to work
# due to deficiencies in the package infrastructure. # due to deficiencies in the package infrastructure.
$(eval $(call AUTOTARGETS,package,fakeroot)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,fakeroot,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -8,5 +8,5 @@ FBDUMP_SOURCE:=fbdump-$(FBDUMP_VERSION).tar.gz
FBDUMP_SITE:=http://www.rcdrummond.net/fbdump FBDUMP_SITE:=http://www.rcdrummond.net/fbdump
FBDUMP_AUTORECONF = NO FBDUMP_AUTORECONF = NO
$(eval $(call AUTOTARGETS,package,fbdump)) $(eval $(call AUTOTARGETS))

View File

@ -33,4 +33,4 @@ define FBV_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call AUTOTARGETS,package,fbv)) $(eval $(call AUTOTARGETS))

View File

@ -8,4 +8,4 @@ FFTW_VERSION = 3.3
FFTW_SITE = http://www.fftw.org FFTW_SITE = http://www.fftw.org
FFTW_INSTALL_STAGING = YES FFTW_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS,package,fftw)) $(eval $(call AUTOTARGETS))

View File

@ -14,5 +14,5 @@ define FILE_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/lib/libmagic.* rm -f $(TARGET_DIR)/usr/lib/libmagic.*
endef endef
$(eval $(call AUTOTARGETS,package,file)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,file,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -9,4 +9,4 @@ FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils
FINDUTILS_CONF_ENV = gl_cv_func_stdin=yes \ FINDUTILS_CONF_ENV = gl_cv_func_stdin=yes \
gl_cv_func_wcwidth_works=yes gl_cv_func_wcwidth_works=yes
$(eval $(call AUTOTARGETS,package,findutils)) $(eval $(call AUTOTARGETS))

View File

@ -40,5 +40,5 @@ FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LIBFL
FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LIBFL FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LIBFL
endif endif
$(eval $(call AUTOTARGETS,package,flex)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,flex,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -18,4 +18,4 @@ FLTK_CONF_OPT = --enable-threads --with-x
FLTK_DEPENDENCIES = xserver_xorg-server xlib_libXt FLTK_DEPENDENCIES = xserver_xorg-server xlib_libXt
$(eval $(call AUTOTARGETS,package,fltk)) $(eval $(call AUTOTARGETS))

View File

@ -13,4 +13,4 @@ FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv) FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
$(eval $(call AUTOTARGETS,package,fluxbox)) $(eval $(call AUTOTARGETS))

View File

@ -27,5 +27,5 @@ HOST_FONTCONFIG_CONF_OPT = \
--disable-docs \ --disable-docs \
--disable-static --disable-static
$(eval $(call AUTOTARGETS,package,fontconfig)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,fontconfig,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -31,5 +31,5 @@ ifneq ($(BR2_HAVE_DEVFILES),y)
FREETYPE_POST_INSTALL_TARGET_HOOKS += FREETYPE_FREETYPE_CONFIG_TARGET_REMOVE FREETYPE_POST_INSTALL_TARGET_HOOKS += FREETYPE_FREETYPE_CONFIG_TARGET_REMOVE
endif endif
$(eval $(call AUTOTARGETS,package,freetype)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,freetype,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -9,5 +9,5 @@ GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess
GNUCHESS_DEPENDENCIES = $(if $(BR2_PACKAGE_READLINE),readline) GNUCHESS_DEPENDENCIES = $(if $(BR2_PACKAGE_READLINE),readline)
$(eval $(call AUTOTARGETS,package/games,gnuchess)) $(eval $(call AUTOTARGETS))

View File

@ -41,4 +41,4 @@ define PRBOOM_UINSTALL_TARGET_CMDS
$(TARGET_DIR)/usr/games/prboom $(TARGET_DIR)/usr/games/prboom
endef endef
$(eval $(call AUTOTARGETS,package/games,prboom)) $(eval $(call AUTOTARGETS))

View File

@ -14,5 +14,5 @@ RUBIX_MAKE_OPT = CC="$(TARGET_CC)" XINC="-I$(STAGING_DIR)/usr/include/X11" XLIB=
RUBIX_DEPENDENCIES = xserver_xorg-server RUBIX_DEPENDENCIES = xserver_xorg-server
$(eval $(call AUTOTARGETS,package/games,rubix)) $(eval $(call AUTOTARGETS))

View File

@ -22,5 +22,5 @@ endif
GAMIN_DEPENDENCIES = libglib2 GAMIN_DEPENDENCIES = libglib2
$(eval $(call AUTOTARGETS,package,gamin)) $(eval $(call AUTOTARGETS))

View File

@ -22,5 +22,5 @@ define GAWK_UNINSTALL_TARGET_CMDS
rm -rf $(TARGET_DIR)/usr/share/awk rm -rf $(TARGET_DIR)/usr/share/awk
endef endef
$(eval $(call AUTOTARGETS,package,gawk)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,gawk,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -50,7 +50,7 @@ endef
GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS
$(eval $(call AUTOTARGETS,package,gdk-pixbuf)) $(eval $(call AUTOTARGETS))
HOST_GDK_PIXBUF_CONF_OPT = \ HOST_GDK_PIXBUF_CONF_OPT = \
--without-libjpeg \ --without-libjpeg \
@ -58,4 +58,4 @@ HOST_GDK_PIXBUF_CONF_OPT = \
HOST_GDK_PIXBUF_DEPENDENCIES = host-libpng HOST_GDK_PIXBUF_DEPENDENCIES = host-libpng
$(eval $(call AUTOTARGETS,package,gdk-pixbuf,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -8,5 +8,5 @@ GENEXT2FS_VERSION=1.4.1
GENEXT2FS_SOURCE=genext2fs-$(GENEXT2FS_VERSION).tar.gz GENEXT2FS_SOURCE=genext2fs-$(GENEXT2FS_VERSION).tar.gz
GENEXT2FS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/genext2fs GENEXT2FS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/genext2fs
$(eval $(call AUTOTARGETS,package,genext2fs)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,genext2fs,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -9,5 +9,5 @@ GMP_SITE = $(BR2_GNU_MIRROR)/gmp
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2 GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
GMP_INSTALL_STAGING = YES GMP_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS,package,gmp)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,gmp,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -20,4 +20,4 @@ else
GMPC_CONF_OPT += --disable-sm GMPC_CONF_OPT += --disable-sm
endif endif
$(eval $(call AUTOTARGETS,package,gmpc)) $(eval $(call AUTOTARGETS))

View File

@ -11,4 +11,4 @@ GNUTLS_DEPENDENCIES = libgcrypt
GNUTLS_CONF_OPT += --without-libgcrypt-prefix GNUTLS_CONF_OPT += --without-libgcrypt-prefix
GNUTLS_INSTALL_STAGING = YES GNUTLS_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS,package,gnutls)) $(eval $(call AUTOTARGETS))

View File

@ -12,8 +12,8 @@ GOB2_DEPENDENCIES = libglib2 flex bison host-pkg-config host-flex
HOST_GOB2_DEPENDENCIES = host-libglib2 HOST_GOB2_DEPENDENCIES = host-libglib2
$(eval $(call AUTOTARGETS,package,gob2)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,gob2,host)) $(eval $(call AUTOTARGETS,host))
# gob2 for the host # gob2 for the host
GOB2_HOST_BINARY:=$(HOST_DIR)/usr/bin/gob2 GOB2_HOST_BINARY:=$(HOST_DIR)/usr/bin/gob2

View File

@ -7,5 +7,5 @@
GPERF_VERSION = 3.0.4 GPERF_VERSION = 3.0.4
GPERF_SITE = $(BR2_GNU_MIRROR)/gperf GPERF_SITE = $(BR2_GNU_MIRROR)/gperf
$(eval $(call AUTOTARGETS,package,gperf)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,gperf,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -182,4 +182,4 @@ define GPSD_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/etc/init.d/S50gpsd rm -f $(TARGET_DIR)/etc/init.d/S50gpsd
endef endef
$(eval $(call AUTOTARGETS,package,gpsd)) $(eval $(call AUTOTARGETS))

View File

@ -12,5 +12,5 @@ GQVIEW_INSTALL_TARGET = YES
GQVIEW_DEPENDENCIES = host-pkg-config libgtk2 GQVIEW_DEPENDENCIES = host-pkg-config libgtk2
$(eval $(call AUTOTARGETS,package,gqview)) $(eval $(call AUTOTARGETS))

View File

@ -15,4 +15,4 @@ GREP_CONF_ENV += LIBS=-liconv
GREP_DEPENDENCIES += libiconv GREP_DEPENDENCIES += libiconv
endif endif
$(eval $(call AUTOTARGETS,package,grep)) $(eval $(call AUTOTARGETS))

View File

@ -83,4 +83,4 @@ GTK2_ENGINES_CONF_OPT = \
--disable-paranoia \ --disable-paranoia \
--disable-deprecated --disable-deprecated
$(eval $(call AUTOTARGETS,package,gtk2-engines)) $(eval $(call AUTOTARGETS))

View File

@ -9,4 +9,4 @@ GTK2_THEME_HICOLOR_SITE = http://icon-theme.freedesktop.org/releases/
GTK2_THEME_HICOLOR_DEPENDENCIES = libgtk2 GTK2_THEME_HICOLOR_DEPENDENCIES = libgtk2
$(eval $(call AUTOTARGETS,package/gtk2-themes,gtk2-theme-hicolor)) $(eval $(call AUTOTARGETS))

View File

@ -9,5 +9,5 @@ GTKPERF_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gt
GTKPERF_INSTALL_TARGET = YES GTKPERF_INSTALL_TARGET = YES
GTKPERF_DEPENDENCIES = libgtk2 GTKPERF_DEPENDENCIES = libgtk2
$(eval $(call AUTOTARGETS,package,gtkperf)) $(eval $(call AUTOTARGETS))

View File

@ -78,4 +78,4 @@ GVFS_POST_INSTALL_TARGET_HOOKS += \
GVFS_REMOVE_TARGET_SCHEMAS \ GVFS_REMOVE_TARGET_SCHEMAS \
GVFS_COMPILE_SCHEMAS GVFS_COMPILE_SCHEMAS
$(eval $(call AUTOTARGETS,package,gvfs)) $(eval $(call AUTOTARGETS))

View File

@ -7,4 +7,4 @@ GZIP_VERSION:=1.4
GZIP_SOURCE:=gzip-$(GZIP_VERSION).tar.gz GZIP_SOURCE:=gzip-$(GZIP_VERSION).tar.gz
GZIP_SITE:=$(BR2_GNU_MIRROR)/gzip GZIP_SITE:=$(BR2_GNU_MIRROR)/gzip
$(eval $(call AUTOTARGETS,package,gzip)) $(eval $(call AUTOTARGETS))

View File

@ -19,4 +19,4 @@ endef
HASERL_POST_INSTALL_TARGET_HOOKS += HASERL_REMOVE_EXAMPLES HASERL_POST_INSTALL_TARGET_HOOKS += HASERL_REMOVE_EXAMPLES
$(eval $(call AUTOTARGETS,package,haserl)) $(eval $(call AUTOTARGETS))

View File

@ -108,4 +108,4 @@ define HOSTAPD_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/hostapd rm -f $(TARGET_DIR)/usr/bin/hostapd
endef endef
$(eval $(call AUTOTARGETS,package,hostapd)) $(eval $(call AUTOTARGETS))

View File

@ -10,4 +10,4 @@ HTOP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/htop/$(HTOP_VERS
HTOP_DEPENDENCIES = ncurses HTOP_DEPENDENCIES = ncurses
HTOP_AUTORECONF = YES HTOP_AUTORECONF = YES
$(eval $(call AUTOTARGETS,package,htop)) $(eval $(call AUTOTARGETS))

View File

@ -24,5 +24,5 @@ endef
ICU_POST_INSTALL_TARGET_HOOKS += ICU_PREFIX_FIXUP ICU_POST_INSTALL_TARGET_HOOKS += ICU_PREFIX_FIXUP
$(eval $(call AUTOTARGETS,package,icu)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,icu,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -32,4 +32,4 @@ endef
IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
$(eval $(call AUTOTARGETS,package,ifplugd)) $(eval $(call AUTOTARGETS))

View File

@ -90,4 +90,4 @@ ifneq ($(BR2_HAVE_DEVFILES),y)
IMAGEMAGICK_POST_INSTALL_TARGET_HOOKS += IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS IMAGEMAGICK_POST_INSTALL_TARGET_HOOKS += IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS
endif endif
$(eval $(call AUTOTARGETS,package,imagemagick)) $(eval $(call AUTOTARGETS))

View File

@ -5,4 +5,4 @@
############################################################# #############################################################
INOTIFY_TOOLS_VERSION = 3.14 INOTIFY_TOOLS_VERSION = 3.14
INOTIFY_TOOLS_SITE = http://github.com/downloads/rvoicilas/inotify-tools/ INOTIFY_TOOLS_SITE = http://github.com/downloads/rvoicilas/inotify-tools/
$(eval $(call AUTOTARGETS,package,inotify-tools)) $(eval $(call AUTOTARGETS))

View File

@ -11,6 +11,6 @@ HOST_INTLTOOL_DEPENDENCIES = host-libxml-parser-perl
HOST_INTLTOOL_CONF_OPT = \ HOST_INTLTOOL_CONF_OPT = \
PERLLIB=$(HOST_DIR)/usr/lib/perl PERLLIB=$(HOST_DIR)/usr/lib/perl
$(eval $(call AUTOTARGETS,package,intltool)) $(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,package,intltool,host)) $(eval $(call AUTOTARGETS,host))

View File

@ -21,4 +21,4 @@ IPERF_CONF_OPT = \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-web100 --disable-web100
$(eval $(call AUTOTARGETS,package,iperf)) $(eval $(call AUTOTARGETS))

View File

@ -11,4 +11,4 @@ IPKG_AUTORECONF = NO
IPKG_INSTALL_STAGING = YES IPKG_INSTALL_STAGING = YES
IPKG_INSTALL_TARGET = YES IPKG_INSTALL_TARGET = YES
$(eval $(call AUTOTARGETS,package,ipkg)) $(eval $(call AUTOTARGETS))

View File

@ -66,4 +66,4 @@ ifeq ($(BR2_PACKAGE_IPSEC_SECCTX_KERNEL),y)
IPSEC_TOOLS_CONF_OPT+= --enable-security-context=kernel IPSEC_TOOLS_CONF_OPT+= --enable-security-context=kernel
endif endif
$(eval $(call AUTOTARGETS,package,ipsec-tools)) $(eval $(call AUTOTARGETS))

View File

@ -10,4 +10,4 @@ IPSET_SITE = http://ipset.netfilter.org
IPSET_AUTORECONF = YES IPSET_AUTORECONF = YES
IPSET_DEPENDENCIES = libmnl host-pkg-config IPSET_DEPENDENCIES = libmnl host-pkg-config
$(eval $(call AUTOTARGETS,package,ipset)) $(eval $(call AUTOTARGETS))

View File

@ -44,4 +44,4 @@ define IPTABLES_UNINSTALL_TARGET_CMDS
rm -rf $(TARGET_DIR)/usr/lib/xtables rm -rf $(TARGET_DIR)/usr/lib/xtables
endef endef
$(eval $(call AUTOTARGETS,package,iptables)) $(eval $(call AUTOTARGETS))

View File

@ -83,4 +83,4 @@ endif
$(eval $(call AUTOTARGETS,package/java,classpath)) $(eval $(call AUTOTARGETS))

View File

@ -90,4 +90,4 @@ ifeq ($(BR2_avr32),y)
CC="$(STAGING_DIR)/usr/bin/avr32-linux-gcc" CC="$(STAGING_DIR)/usr/bin/avr32-linux-gcc"
endif endif
$(eval $(call AUTOTARGETS,package/java,jamvm)) $(eval $(call AUTOTARGETS))

Some files were not shown because too many files have changed in this diff Show More