mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
pkg-generic: fix SUBDIR handling
Commit 9ba9bfb9a02706fa414bcf4c6dcceac1b68a5c9a inverted the logic to define $(2)_SUBDIR, breaking the build of things using the _SUBDIR feature, like the tcl package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b3afe46576
commit
8e26abecd0
@ -204,11 +204,11 @@ $(2)_BASE_NAME = $(1)-$$($(2)_VERSION)
|
|||||||
$(2)_DL_DIR = $$(DL_DIR)/$$($(2)_BASE_NAME)
|
$(2)_DL_DIR = $$(DL_DIR)/$$($(2)_BASE_NAME)
|
||||||
$(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASE_NAME)
|
$(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASE_NAME)
|
||||||
|
|
||||||
ifndef $(3)_SUBDIR
|
ifndef $(2)_SUBDIR
|
||||||
ifdef $(2)_SUBDIR
|
ifdef $(3)_SUBDIR
|
||||||
$(3)_SUBDIR = $$($(2)_SUBDIR)
|
$(2)_SUBDIR = $$($(3)_SUBDIR)
|
||||||
else
|
else
|
||||||
$(3)_SUBDIR ?=
|
$(2)_SUBDIR ?=
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user