summaryrefslogtreecommitdiff
path: root/package/pkg-cmake.mk
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2012-07-22 15:28:34 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-22 19:28:42 +0200
commit9ba9bfb9a02706fa414bcf4c6dcceac1b68a5c9a (patch)
treeb6bfff8da9eadf0cac6874766ec47d58559f92dd /package/pkg-cmake.mk
parent736ce2f3da29558544a38b0404e0c4ff4d41c9ac (diff)
pkg-*targets.mk: factorize and fix $(PKG)_SRCDIR and $(PKG)_BUILDDIR declaration
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-cmake.mk')
-rw-r--r--package/pkg-cmake.mk9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk
index f9a59341a..626a0b00c 100644
--- a/package/pkg-cmake.mk
+++ b/package/pkg-cmake.mk
@@ -37,15 +37,6 @@
define inner-cmake-package
-# define package-specific variables to default values
-ifndef $(2)_SUBDIR
- ifdef $(3)_SUBDIR
- $(2)_SUBDIR = $($(3)_SUBDIR)
- else
- $(2)_SUBDIR ?=
- endif
-endif
-
$(2)_CONF_ENV ?=
$(2)_CONF_OPT ?=
$(2)_MAKE ?= $(MAKE)