build system: introduce a new feature called build variants.

it allows building a package multiple times in one pass with different build dirs,
based on the same build settings.
replaces templating hacks like the one used in the hostapd package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18357 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2009-11-10 22:00:54 +00:00
parent 085fe6bf4b
commit 8075ad2ef5
5 changed files with 10 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ define Package/Default
KCONFIG:=
BUILDONLY:=
URL:=
VARIANT:=
endef
Build/Patch:=$(Build/Patch/Default)