package: remove useless arguments from GENTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS 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:42 +02:00 committed by Peter Korsgaard
parent e055aea216
commit 0849e8193e
107 changed files with 124 additions and 126 deletions

View File

@ -29,7 +29,7 @@ define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS
cp $(@D)/$(AT91BOOTSTRAP_BINARY) $(BINARIES_DIR) cp $(@D)/$(AT91BOOTSTRAP_BINARY) $(BINARIES_DIR)
endef endef
$(eval $(call GENTARGETS,boot,at91bootstrap)) $(eval $(call GENTARGETS))
ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y) ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y)
# we NEED a board name unless we're at make source # we NEED a board name unless we're at make source

View File

@ -19,4 +19,4 @@ define AT91DATAFLASHBOOT_INSTALL_IMAGES_CMDS
cp $(@D)/DataflashBoot-$(AT91DATAFLASHBOOT_VERSION).bin $(BINARIES_DIR) cp $(@D)/DataflashBoot-$(AT91DATAFLASHBOOT_VERSION).bin $(BINARIES_DIR)
endef endef
$(eval $(call GENTARGETS,boot,at91dataflashboot)) $(eval $(call GENTARGETS))

View File

@ -72,7 +72,7 @@ define BAREBOX_INSTALL_TARGET_CMDS
endef endef
endif endif
$(eval $(call GENTARGETS,boot,barebox)) $(eval $(call GENTARGETS))
ifeq ($(BR2_TARGET_BAREBOX),y) ifeq ($(BR2_TARGET_BAREBOX),y)
# we NEED a board defconfig file unless we're at make source # we NEED a board defconfig file unless we're at make source

View File

@ -26,4 +26,4 @@ define SYSLINUX_INSTALL_IMAGES_CMDS
done done
endef endef
$(eval $(call GENTARGETS,boot,syslinux)) $(eval $(call GENTARGETS))

View File

@ -88,7 +88,7 @@ define UBOOT_INSTALL_IMAGES_CMDS
cp -dpf $(@D)/$(UBOOT_BIN) $(BINARIES_DIR)/ cp -dpf $(@D)/$(UBOOT_BIN) $(BINARIES_DIR)/
endef endef
$(eval $(call GENTARGETS,boot,uboot)) $(eval $(call GENTARGETS))
ifeq ($(BR2_TARGET_UBOOT),y) ifeq ($(BR2_TARGET_UBOOT),y)
# we NEED a board name unless we're at make source # we NEED a board name unless we're at make source

View File

@ -19,7 +19,7 @@ define XLOADER_INSTALL_IMAGES_CMDS
$(INSTALL) -D -m 0755 $(@D)/MLO $(BINARIES_DIR)/ $(INSTALL) -D -m 0755 $(@D)/MLO $(BINARIES_DIR)/
endef endef
$(eval $(call GENTARGETS,boot,xloader)) $(eval $(call GENTARGETS))
############################################################# #############################################################
# #

View File

@ -179,7 +179,7 @@ endef
include linux/linux-ext-*.mk include linux/linux-ext-*.mk
$(eval $(call GENTARGETS,,linux)) $(eval $(call GENTARGETS))
linux-menuconfig linux-xconfig linux-gconfig linux-nconfig linux26-menuconfig linux26-xconfig linux26-gconfig linux26-nconfig: dirs $(LINUX_DIR)/.stamp_configured linux-menuconfig linux-xconfig linux-gconfig linux-nconfig linux26-menuconfig linux26-xconfig linux26-gconfig linux26-nconfig: dirs $(LINUX_DIR)/.stamp_configured
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \ $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \

View File

@ -648,18 +648,16 @@ endef # GENTARGETS_INNER
################################################################################ ################################################################################
# GENTARGETS -- the target generator macro for generic packages # GENTARGETS -- the target generator macro for generic 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 GENTARGETS define GENTARGETS
ifeq ($(3),host) ifeq ($(1),host)
# In the case of host packages, turn the package name "pkg" into "host-pkg" # In the case of host packages, turn the package name "pkg" into "host-pkg"
$(call GENTARGETS_INNER,$(3)-$(2),$(call UPPERCASE,$(3)-$(2)),$(call UPPERCASE,$(2)),$(1),host) $(call GENTARGETS_INNER,$(1)-$(call pkgname),$(call UPPERCASE,$(1)-$(call pkgname)),$(call UPPERCASE,$(call pkgname)),$(call pkgparentdir),host)
else else
# In the case of target packages, keep the package name "pkg" # In the case of target packages, keep the package name "pkg"
$(call GENTARGETS_INNER,$(2),$(call UPPERCASE,$(2)),$(call UPPERCASE,$(2)),$(1),target) $(call GENTARGETS_INNER,$(call pkgname),$(call UPPERCASE,$(call pkgname)),$(call UPPERCASE,$(call pkgname)),$(call pkgparentdir),target)
endif endif
endef endef

View File

@ -30,4 +30,4 @@ define ACPID_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,acpid)) $(eval $(call GENTARGETS))

View File

@ -44,4 +44,4 @@ define AXEL_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,axel)) $(eval $(call GENTARGETS))

View File

@ -28,4 +28,4 @@ define BSDIFF_CLEAN_CMDS
rm -f $(@D)/bsdiff $(@D)/bspatch rm -f $(@D)/bsdiff $(@D)/bspatch
endef endef
$(eval $(call GENTARGETS,package,bsdiff)) $(eval $(call GENTARGETS))

View File

@ -176,7 +176,7 @@ define BUSYBOX_CLEAN_CMDS
$(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) clean $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,busybox)) $(eval $(call GENTARGETS))
busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch
$(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(BUSYBOX_DIR) \ $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(BUSYBOX_DIR) \

View File

@ -101,5 +101,5 @@ define HOST_BZIP2_INSTALL_CMDS
$(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install $(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install
endef endef
$(eval $(call GENTARGETS,package,bzip2)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,bzip2,host)) $(eval $(call GENTARGETS,host))

View File

@ -17,4 +17,4 @@ define CGILUA_UNINSTALL_TARGET_CMDS
rm -f "$(TARGET_DIR)/usr/share/lua/cgilua.lua" rm -f "$(TARGET_DIR)/usr/share/lua/cgilua.lua"
endef endef
$(eval $(call GENTARGETS,package,cgilua)) $(eval $(call GENTARGETS))

View File

@ -14,5 +14,5 @@ define HOST_CLOOP_INSTALL_CMDS
$(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin $(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin
endef endef
$(eval $(call GENTARGETS,package,cloop)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,cloop,host)) $(eval $(call GENTARGETS,host))

View File

@ -17,5 +17,5 @@ define HOST_CMAKE_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
endef endef
$(eval $(call GENTARGETS,package,cmake)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,cmake,host)) $(eval $(call GENTARGETS,host))

View File

@ -17,4 +17,4 @@ define COPAS_UNINSTALL_TARGET_CMDS
rm -f "$(TARGET_DIR)/usr/share/lua/copas.lua" rm -f "$(TARGET_DIR)/usr/share/lua/copas.lua"
endef endef
$(eval $(call GENTARGETS,package,copas)) $(eval $(call GENTARGETS))

View File

@ -17,4 +17,4 @@ define COXPCALL_UNINSTALL_TARGET_CMDS
rm -f "$(TARGET_DIR)/usr/share/lua/coxpcall.lua" rm -f "$(TARGET_DIR)/usr/share/lua/coxpcall.lua"
endef endef
$(eval $(call GENTARGETS,package,coxpcall)) $(eval $(call GENTARGETS))

View File

@ -29,5 +29,5 @@ define HOST_CRAMFS_INSTALL_CMDS
install -D -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin/cramfsck install -D -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin/cramfsck
endef endef
$(eval $(call GENTARGETS,package,cramfs)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,cramfs,host)) $(eval $(call GENTARGETS,host))

View File

@ -18,4 +18,4 @@ define DHCPDUMP_INSTALL_TARGET_CMDS
install -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump install -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump
endef endef
$(eval $(call GENTARGETS,package,dhcpdump)) $(eval $(call GENTARGETS))

View File

@ -24,7 +24,7 @@ define DHRYSTONE_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/dhrystone rm -f $(TARGET_DIR)/usr/bin/dhrystone
endef endef
$(eval $(call GENTARGETS,package,dhrystone)) $(eval $(call GENTARGETS))
$(BUILD_DIR)/dhrystone-$(DHRYSTONE_VERSION)/.stamp_extracted: $(BUILD_DIR)/dhrystone-$(DHRYSTONE_VERSION)/.stamp_extracted:
@$(call MESSAGE,"Extracting") @$(call MESSAGE,"Extracting")

View File

@ -64,4 +64,4 @@ define DNSMASQ_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/share/man/man8/dnsmasq.8 rm -f $(TARGET_DIR)/usr/share/man/man8/dnsmasq.8
endef endef
$(eval $(call GENTARGETS,package,dnsmasq)) $(eval $(call GENTARGETS))

View File

@ -34,4 +34,4 @@ define DOSFSTOOLS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,dosfstools)) $(eval $(call GENTARGETS))

View File

@ -15,4 +15,4 @@ define DSP_TOOLS_UNINSTALL_TARGET_CMDS
rm -f $(addprefix $(TARGET_DIR)/usr/bin/dsp-, load probe test exec) rm -f $(addprefix $(TARGET_DIR)/usr/bin/dsp-, load probe test exec)
endef endef
$(eval $(call GENTARGETS,package,dsp-tools)) $(eval $(call GENTARGETS))

View File

@ -27,4 +27,4 @@ define EBTABLES_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/sbin/ebtables rm -f $(TARGET_DIR)/sbin/ebtables
endef endef
$(eval $(call GENTARGETS,package,ebtables)) $(eval $(call GENTARGETS))

View File

@ -19,4 +19,4 @@ define EEPROG_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/eeprog rm -f $(TARGET_DIR)/usr/bin/eeprog
endef endef
$(eval $(call GENTARGETS,package,eeprog)) $(eval $(call GENTARGETS))

View File

@ -37,4 +37,4 @@ define EZXML_CLEAN_CMDS
-$(MAKE) -C $(@D) -f GNUmakefile clean -$(MAKE) -C $(@D) -f GNUmakefile clean
endef endef
$(eval $(call GENTARGETS,package,ezxml)) $(eval $(call GENTARGETS))

View File

@ -15,4 +15,4 @@ define FBGRAB_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/fbgrab rm -f $(TARGET_DIR)/usr/bin/fbgrab
endef endef
$(eval $(call GENTARGETS,package,fbgrab)) $(eval $(call GENTARGETS))

View File

@ -29,4 +29,4 @@ define FBSET_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,fbset)) $(eval $(call GENTARGETS))

View File

@ -25,4 +25,4 @@ define FCONFIG_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,fconfig)) $(eval $(call GENTARGETS))

View File

@ -29,4 +29,4 @@ define GADGETFS_TEST_CLEAN_CMDS
-$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS) clean -$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS) clean
endef endef
$(eval $(call GENTARGETS,package,gadgetfs-test)) $(eval $(call GENTARGETS))

View File

@ -36,4 +36,4 @@ endef
endif endif
$(eval $(call GENTARGETS,package,gdisk)) $(eval $(call GENTARGETS))

View File

@ -27,5 +27,5 @@ define HOST_GENROMFS_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install $(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install
endef endef
$(eval $(call GENTARGETS,package,genromfs)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,genromfs,host)) $(eval $(call GENTARGETS,host))

View File

@ -33,4 +33,4 @@ define HDPARM_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,hdparm)) $(eval $(call GENTARGETS))

View File

@ -18,4 +18,4 @@ define HWDATA_UNINSTALL_TARGET_CMDS
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
endef endef
$(eval $(call GENTARGETS,package,hwdata)) $(eval $(call GENTARGETS))

View File

@ -19,4 +19,4 @@ define I2C_TOOLS_INSTALL_TARGET_CMDS
done done
endef endef
$(eval $(call GENTARGETS,package,i2c-tools)) $(eval $(call GENTARGETS))

View File

@ -33,4 +33,4 @@ define INPUT_EVENT_DAEMON_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/etc/input-event-daemon.conf rm -f $(TARGET_DIR)/etc/input-event-daemon.conf
endef endef
$(eval $(call GENTARGETS,package,input-event-daemon)) $(eval $(call GENTARGETS))

View File

@ -45,4 +45,4 @@ define INPUT_TOOLS_CLEAN_CMDS
rm -f $(addprefix $(@D)/,$(INPUT_TOOLS_TARGETS_y)) rm -f $(addprefix $(@D)/,$(INPUT_TOOLS_TARGETS_y))
endef endef
$(eval $(call GENTARGETS,package,input-tools)) $(eval $(call GENTARGETS))

View File

@ -28,4 +28,4 @@ define IOSTAT_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/share/man/man8/iostat.8 rm -f $(TARGET_DIR)/usr/share/man/man8/iostat.8
endef endef
$(eval $(call GENTARGETS,package,iostat)) $(eval $(call GENTARGETS))

View File

@ -54,4 +54,4 @@ define IPROUTE2_UNINSTALL_TARGET_CMDS
rm -f $(addprefix $(TARGET_DIR)/sbin/, $(IPROUTE2_TARGET_SBINS)) rm -f $(addprefix $(TARGET_DIR)/sbin/, $(IPROUTE2_TARGET_SBINS))
endef endef
$(eval $(call GENTARGETS,package,iproute2)) $(eval $(call GENTARGETS))

View File

@ -43,4 +43,4 @@ define IRDA_UTILS_UNINSTALL_TARGET_CMDS
rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(IRDA_UTILS_SBINS-)) rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(IRDA_UTILS_SBINS-))
endef endef
$(eval $(call GENTARGETS,package,irda-utils)) $(eval $(call GENTARGETS))

View File

@ -32,4 +32,4 @@ define IW_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/share/man/man8/iw.8* rm -f $(TARGET_DIR)/usr/share/man/man8/iw.8*
endef endef
$(eval $(call GENTARGETS,package,iw)) $(eval $(call GENTARGETS))

View File

@ -20,5 +20,5 @@ define LIBAIO_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef endef
$(eval $(call GENTARGETS,package,libaio)) $(eval $(call GENTARGETS))

View File

@ -34,5 +34,5 @@ define HOST_LIBCAP_INSTALL_CMDS
prefix=/usr lib=lib install prefix=/usr lib=lib install
endef endef
$(eval $(call GENTARGETS,package,libcap)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,libcap,host)) $(eval $(call GENTARGETS,host))

View File

@ -18,4 +18,4 @@ define LIBERATION_CLEAN_CMDS
rm -rf $(LIBERATION_TARGET_DIR) rm -rf $(LIBERATION_TARGET_DIR)
endef endef
$(eval $(call GENTARGETS,package,liberation)) $(eval $(call GENTARGETS))

View File

@ -64,4 +64,4 @@ define LIBNSS_CLEAN_CMDS
BUILD_OPT=1 BUILD_OPT=1
endef endef
$(eval $(call GENTARGETS,package,libnss)) $(eval $(call GENTARGETS))

View File

@ -30,4 +30,4 @@ define LIBROXML_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,libroxml)) $(eval $(call GENTARGETS))

View File

@ -39,4 +39,4 @@ define LIBSVGTINY_CLEAN_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) clean $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,libsvgtiny)) $(eval $(call GENTARGETS))

View File

@ -38,5 +38,5 @@ define LIBV4L_INSTALL_TARGET_CMDS
DESTDIR=$(TARGET_DIR) $(LIBV4L_MAKE_OPTS) install; done DESTDIR=$(TARGET_DIR) $(LIBV4L_MAKE_OPTS) install; done
endef endef
$(eval $(call GENTARGETS,package,libv4l)) $(eval $(call GENTARGETS))

View File

@ -30,6 +30,6 @@ define HOST_LIBXML_PARSER_PERL_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
endef endef
$(eval $(call GENTARGETS,package,libxml-parser-perl)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,libxml-parser-perl,host)) $(eval $(call GENTARGETS,host))

View File

@ -48,4 +48,4 @@ define LINUX_FUSION_UNINSTALL_TARGET_CMDS
rm -f $(LINUX_FUSION_ETC_DIR)/40-fusion.rules rm -f $(LINUX_FUSION_ETC_DIR)/40-fusion.rules
endef endef
$(eval $(call GENTARGETS,package,linux-fusion)) $(eval $(call GENTARGETS))

View File

@ -42,4 +42,4 @@ define LM_SENSORS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,lm-sensors)) $(eval $(call GENTARGETS))

View File

@ -27,4 +27,4 @@ define LMBENCH_CLEAN_CMDS
$(MAKE) -C $(@D)/src clean $(MAKE) -C $(@D)/src clean
endef endef
$(eval $(call GENTARGETS,package,lmbench)) $(eval $(call GENTARGETS))

View File

@ -30,4 +30,4 @@ define LOCKFILE_PROGS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,lockfile-progs)) $(eval $(call GENTARGETS))

View File

@ -33,4 +33,4 @@ define LOGROTATE_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,logrotate)) $(eval $(call GENTARGETS))

View File

@ -63,4 +63,4 @@ define LSOF_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,lsof)) $(eval $(call GENTARGETS))

View File

@ -39,4 +39,4 @@ define LTRACE_INSTALL_TARGET_CMDS
$(LTRACE_INSTALL_DOCUMENTATION) $(LTRACE_INSTALL_DOCUMENTATION)
endef endef
$(eval $(call GENTARGETS,package,ltrace)) $(eval $(call GENTARGETS))

View File

@ -121,4 +121,4 @@ define LUA_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,lua)) $(eval $(call GENTARGETS))

View File

@ -28,4 +28,4 @@ define LUAFILESYSTEM_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,luafilesystem)) $(eval $(call GENTARGETS))

View File

@ -33,4 +33,4 @@ define LUASOCKET_CLEAN_CMDS
$(MAKE) -C $(@D) -f makefile clean $(MAKE) -C $(@D) -f makefile clean
endef endef
$(eval $(call GENTARGETS,package,luasocket)) $(eval $(call GENTARGETS))

View File

@ -31,5 +31,5 @@ define HOST_MAKEDEVS_INSTALL_CMDS
install -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs install -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
endef endef
$(eval $(call GENTARGETS,package,makedevs)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,makedevs,host)) $(eval $(call GENTARGETS,host))

View File

@ -24,4 +24,4 @@ define MEMSTAT_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/memstat rm -f $(TARGET_DIR)/usr/bin/memstat
endef endef
$(eval $(call GENTARGETS,package,memstat)) $(eval $(call GENTARGETS))

View File

@ -26,4 +26,4 @@ define MEMTESTER_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,memtester)) $(eval $(call GENTARGETS))

View File

@ -35,4 +35,4 @@ define MIDORI_INSTALL_TARGET_CMDS
(cd $(@D); ./waf --destdir=$(TARGET_DIR) install) (cd $(@D); ./waf --destdir=$(TARGET_DIR) install)
endef endef
$(eval $(call GENTARGETS,package,midori)) $(eval $(call GENTARGETS))

View File

@ -32,4 +32,4 @@ define MII_DIAG_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,mii-diag)) $(eval $(call GENTARGETS))

View File

@ -24,4 +24,4 @@ define MROUTED_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,mrouted)) $(eval $(call GENTARGETS))

View File

@ -98,5 +98,5 @@ define MTD_INSTALL_TARGET_CMDS
done done
endef endef
$(eval $(call GENTARGETS,package,mtd)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,mtd,host)) $(eval $(call GENTARGETS,host))

View File

@ -16,4 +16,4 @@ endef
GST_DSP_DEPENDENCIES = gstreamer tidsp-binaries GST_DSP_DEPENDENCIES = gstreamer tidsp-binaries
$(eval $(call GENTARGETS,package/multimedia,gst-dsp)) $(eval $(call GENTARGETS))

View File

@ -16,4 +16,4 @@ endef
GST_OMAPFB_DEPENDENCIES = gstreamer GST_OMAPFB_DEPENDENCIES = gstreamer
$(eval $(call GENTARGETS,package/multimedia,gst-omapfb)) $(eval $(call GENTARGETS))

View File

@ -45,4 +45,4 @@ define LIVE555_UNINSTALL_TARGET_CMDS
done done
endef endef
$(eval $(call GENTARGETS,package/multimedia,live555)) $(eval $(call GENTARGETS))

View File

@ -145,4 +145,4 @@ define MPLAYER_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package/multimedia,mplayer)) $(eval $(call GENTARGETS))

View File

@ -38,4 +38,4 @@ define PYTHON_MAD_INSTALL_TARGET_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
endef endef
$(eval $(call GENTARGETS,package,python-mad)) $(eval $(call GENTARGETS))

View File

@ -10,4 +10,4 @@ define TIDSP_BINARIES_UNINSTALL_TARGET_CMDS
$(RM) -r $(TARGET_DIR)/lib/dsp $(RM) -r $(TARGET_DIR)/lib/dsp
endef endef
$(eval $(call GENTARGETS,package/multimedia,tidsp-binaries)) $(eval $(call GENTARGETS))

View File

@ -25,4 +25,4 @@ define NETPLUG_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,netplug)) $(eval $(call GENTARGETS))

View File

@ -22,4 +22,4 @@ define NUTTCP_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/nuttcp rm -f $(TARGET_DIR)/usr/bin/nuttcp
endef endef
$(eval $(call GENTARGETS,package,nuttcp)) $(eval $(call GENTARGETS))

View File

@ -38,4 +38,4 @@ define OLSR_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,olsr)) $(eval $(call GENTARGETS))

View File

@ -120,4 +120,4 @@ define OPENSSL_UNINSTALL_CMDS
rm -rf $(addprefix $(STAGING_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc) rm -rf $(addprefix $(STAGING_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc)
endef endef
$(eval $(call GENTARGETS,package,openssl)) $(eval $(call GENTARGETS))

View File

@ -45,4 +45,4 @@ define PCIUTILS_INSTALL_TARGET_CMDS
SHARED=$(PCIUTILS_SHARED) install-lib SHARED=$(PCIUTILS_SHARED) install-lib
endef endef
$(eval $(call GENTARGETS,package,pciutils)) $(eval $(call GENTARGETS))

View File

@ -43,4 +43,4 @@ define PORTMAP_UNINSTALL_TARGET_CMDS
$(addsuffix .8,$(PORTMAP_SBINS))) $(addsuffix .8,$(PORTMAP_SBINS)))
endef endef
$(eval $(call GENTARGETS,package,portmap)) $(eval $(call GENTARGETS))

View File

@ -102,4 +102,4 @@ define PPPD_INSTALL_TARGET_CMDS
done done
endef endef
$(eval $(call GENTARGETS,package,pppd)) $(eval $(call GENTARGETS))

View File

@ -25,4 +25,4 @@ define PPTP_LINUX_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/share/man/man8/pptp.8 rm -f $(TARGET_DIR)/usr/share/man/man8/pptp.8
endef endef
$(eval $(call GENTARGETS,package,pptp-linux)) $(eval $(call GENTARGETS))

View File

@ -20,4 +20,4 @@ define PROCPS_INSTALL_TARGET_CMDS
ldconfig=true install ldconfig=true install
endef endef
$(eval $(call GENTARGETS,package,procps)) $(eval $(call GENTARGETS))

View File

@ -18,4 +18,4 @@ define PYTHON_SERIAL_INSTALL_TARGET_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
endef endef
$(eval $(call GENTARGETS,package,python-serial)) $(eval $(call GENTARGETS))

View File

@ -637,4 +637,4 @@ define QT_UNINSTALL_TARGET_CMDS
-rm $(TARGET_DIR)/usr/lib/libphonon.so.* -rm $(TARGET_DIR)/usr/lib/libphonon.so.*
endef endef
$(eval $(call GENTARGETS,package,qt)) $(eval $(call GENTARGETS))

View File

@ -26,4 +26,4 @@ define RINGS_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,rings)) $(eval $(call GENTARGETS))

View File

@ -33,4 +33,4 @@ define RSH_REDONE_UNINSTALL_TARGET_CMDS
$(addprefix $(TARGET_DIR)/usr/sbin/,$(rsh-redone-sbin-y)) $(addprefix $(TARGET_DIR)/usr/sbin/,$(rsh-redone-sbin-y))
endef endef
$(eval $(call GENTARGETS,package,rsh-redone)) $(eval $(call GENTARGETS))

View File

@ -10,4 +10,4 @@ define HOST_SCONS_INSTALL_CMDS
(cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr) (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr)
endef endef
$(eval $(call GENTARGETS,package,scons,host)) $(eval $(call GENTARGETS,host))

View File

@ -51,4 +51,4 @@ define SLANG_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,slang)) $(eval $(call GENTARGETS))

View File

@ -72,5 +72,5 @@ define HOST_SQUASHFS_INSTALL_CMDS
-C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install
endef endef
$(eval $(call GENTARGETS,package,squashfs)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,squashfs,host)) $(eval $(call GENTARGETS,host))

View File

@ -25,6 +25,6 @@ define HOST_SQUASHFS3_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install
endef endef
$(eval $(call GENTARGETS,package,squashfs3)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,squashfs3,host)) $(eval $(call GENTARGETS,host))

View File

@ -24,4 +24,4 @@ define SREDIRD_CLEAN_CMDS
rm -f $(@D)/sredird rm -f $(@D)/sredird
endef endef
$(eval $(call GENTARGETS,package,sredird)) $(eval $(call GENTARGETS))

View File

@ -41,5 +41,5 @@ define HOST_SSTRIP_UNINSTALL_CMDS
rm -f $(HOST_DIR)/usr/bin/$(HOST_SSTRIP_BINARY) rm -f $(HOST_DIR)/usr/bin/$(HOST_SSTRIP_BINARY)
endef endef
$(eval $(call GENTARGETS,package,sstrip)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,sstrip,host)) $(eval $(call GENTARGETS,host))

View File

@ -16,4 +16,4 @@ define STATSERIAL_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial $(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial
endef endef
$(eval $(call GENTARGETS,package,statserial)) $(eval $(call GENTARGETS))

View File

@ -52,4 +52,4 @@ define SYSKLOGD_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,sysklogd)) $(eval $(call GENTARGETS))

View File

@ -46,4 +46,4 @@ define SYSVINIT_CLEAN_CMDS
$(MAKE) -C $(@D) clean $(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,sysvinit)) $(eval $(call GENTARGETS))

View File

@ -28,4 +28,4 @@ define TI_UTILS_UNINSTALL_TARGET_CMDS
rm -fr $(TARGET_DIR)/usr/share/ti-utils rm -fr $(TARGET_DIR)/usr/share/ti-utils
endef endef
$(eval $(call GENTARGETS,package,ti-utils)) $(eval $(call GENTARGETS))

View File

@ -51,5 +51,5 @@ define HOST_UBOOT_TOOLS_INSTALL_CMDS
install -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin install -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin
endef endef
$(eval $(call GENTARGETS,package,uboot-tools)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,package,uboot-tools,host)) $(eval $(call GENTARGETS,host))

View File

@ -25,5 +25,5 @@ define USB_MODESWITCH_CLEAN_CMDS
rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1 rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1
endef endef
$(eval $(call GENTARGETS,package,usb_modeswitch)) $(eval $(call GENTARGETS))

View File

@ -31,4 +31,4 @@ define USBMOUNT_UNINSTALL_TARGET_CMDS
$(TARGET_DIR)/media/usb? $(TARGET_DIR)/media/usb?
endef endef
$(eval $(call GENTARGETS,package,usbmount)) $(eval $(call GENTARGETS))

View File

@ -51,4 +51,4 @@ define VSFTPD_CLEAN_CMDS
-$(MAKE) -C $(@D) clean -$(MAKE) -C $(@D) clean
endef endef
$(eval $(call GENTARGETS,package,vsftpd)) $(eval $(call GENTARGETS))

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