Author: kaloz Date: 2014-11-30 10:51:48 +0100 (Sun, 30 Nov 2014) New Revision: 43437
Added: trunk/tools/gengetopt/ trunk/tools/gengetopt/Makefile Modified: trunk/tools/Makefile Log: [tools]: add gengetopt Signed-off-by: Imre Kaloz <[email protected]> Modified: trunk/tools/Makefile =================================================================== --- trunk/tools/Makefile 2014-11-30 03:55:44 UTC (rev 43436) +++ trunk/tools/Makefile 2014-11-30 09:51:48 UTC (rev 43437) @@ -28,7 +28,7 @@ tools-y += sstrip ipkg-utils genext2fs e2fsprogs mtd-utils mkimage tools-y += firmware-utils patch-image patch quilt yaffs2 flock padjffs2 tools-y += mm-macros xorg-macros xfce-macros missing-macros xz cmake scons bc -tools-y += findutils +tools-y += findutils gengetopt tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2 tools-$(CONFIG_powerpc) += upx tools-$(CONFIG_TARGET_x86) += qemu Added: trunk/tools/gengetopt/Makefile =================================================================== --- trunk/tools/gengetopt/Makefile (rev 0) +++ trunk/tools/gengetopt/Makefile 2014-11-30 09:51:48 UTC (rev 43437) @@ -0,0 +1,28 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licengengetopt under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=gengetopt +PKG_VERSION:=2.22.6 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@GNU/$(PKG_NAME) +PKG_MD5SUM:=29749a48dda69277ab969c510597a14e + +HOST_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/host-build.mk + +define Host/Install + $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/gengetopt $(STAGING_DIR_HOST)/bin/ +endef + +define Host/Clean + rm -f $(STAGING_DIR_HOST)/bin/gengetopt +endef + +$(eval $(call HostBuild)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
