fix tfp-hpa
authorNicolas Thill <nico@openwrt.org>
Tue, 14 Nov 2006 09:09:31 +0000 (09:09 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 14 Nov 2006 09:09:31 +0000 (09:09 +0000)
SVN-Revision: 5530

net/tftp-hpa/Makefile

index 2607d57..72897bb 100644 (file)
@@ -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