Hi,

I have a question about GNU make and I hope that someone can help me out.
While reading the Makefile code at
'package/network/services/dropbear/Makefile' (see below), I notice that
Package/dropbear calls Package/dropbear/Default to import more configs, URL
in this case.  In GNU Make, call is used to execute a function with
arguments, in this case, there's no function to be called (since there are
no arguments)!  Can the same intent can be accomplished by omitting 'call'?


define Package/dropbear/Default
  URL:=http://matt.ucc.asn.au/dropbear/
endef

define Package/dropbear
  $(call Package/dropbear/Default)
  SECTION:=net
  CATEGORY:=Base system
  TITLE:=Small SSH2 client/server
endef


will this work too?

define Package/dropbear/Default
  URL:=http://matt.ucc.asn.au/dropbear/
endef

define Package/dropbear
  $(Package/dropbear/Default)
  SECTION:=net
  CATEGORY:=Base system
  TITLE:=Small SSH2 client/server
endef
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to