From 0dde7861557a57d42a036fda3338bb4bd66eab05 Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 14 Nov 2006 09:09:31 +0000 Subject: [PATCH] fix tfp-hpa git-svn-id: svn://svn.openwrt.org/openwrt/packages@5530 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/tftp-hpa/Makefile | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/net/tftp-hpa/Makefile b/net/tftp-hpa/Makefile index 2607d572b..72897bb51 100644 --- a/net/tftp-hpa/Makefile +++ b/net/tftp-hpa/Makefile @@ -21,22 +21,27 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk +define Package/tftp-hpa/Default + SECTION:=net + CATEGORY:=Network + URL:=http://www.kernel.org/pub/software/network/tftp +endef + define Package/tftp-hpa - SECTION:=net - CATEGORY:=Network - TITLE:=tftp-hpa is an enhanced version of the BSD TFTP client - URL:=http://www.kernel.org/pub/software/network/tftp + $(call Package/tftp-hpa/Default) + TITLE:=An enhanced version of the BSD TFTP client endef define Package/tftpd-hpa - SECTION:=net - CATEGORY:=Network - TITLE:=tftp-hpa is an enhanced version of the BSD TFTP server - URL:=http://www.kernel.org/pub/software/network/tftp + $(call Package/tftp-hpa/Default) + TITLE:=An enhanced version of the BSD TFTP server endef define Build/Configure - $(call Build/Configure/Default) + $(call Build/Configure/Default, \ + , \ + CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \ + ) endef define Build/Compile