diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-29 00:05:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-29 00:05:48 +0000 |
commit | dbeb0fad24ac37bc07e21e1cac4d372493f4fb28 (patch) | |
tree | 3a72c42d3ba9f57ee240c2e93f4233e05dd611c1 /rules.mk | |
parent | 5d4112737d4c1169f85069fd9f5830266a03b28b (diff) | |
download | mtk-20170518-dbeb0fad24ac37bc07e21e1cac4d372493f4fb28.zip mtk-20170518-dbeb0fad24ac37bc07e21e1cac4d372493f4fb28.tar.gz mtk-20170518-dbeb0fad24ac37bc07e21e1cac4d372493f4fb28.tar.bz2 |
Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2007 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -132,6 +132,9 @@ $(call shvar,$(1))=$$(call $(1)) export $(call shvar,$(1)) endef +# file extension +ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1))) + all: FORCE: ; .PHONY: FORCE |