mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk: Allow non-standard definition of PROJECT
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
9eb5a14675
commit
e9568621a0
1 changed files with 3 additions and 1 deletions
|
|
@ -28,8 +28,10 @@ CAT = /bin/cat
|
|||
SHELL = /bin/bash
|
||||
|
||||
# ----- standard variables
|
||||
#PROJECT ?= $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(shell cd $(TOPDIR); pwd | $(SED) 's/.*\///; s/-[0-9].*//')))
|
||||
ifeq ($(PROJECT),)
|
||||
PROJECT := $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(shell cd $(TOPDIR); pwd | $(SED) 's/.*\///; s/-[0-9].*//')))
|
||||
endif
|
||||
|
||||
ifeq ($(PROJECT),ytools)
|
||||
MOD_SCRIPT_DIR ?= $(MODDIR)/devutil/scripts
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue