mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 06:30:38 +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
|
SHELL = /bin/bash
|
||||||
|
|
||||||
# ----- standard variables
|
# ----- 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].*//')))
|
PROJECT := $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(shell cd $(TOPDIR); pwd | $(SED) 's/.*\///; s/-[0-9].*//')))
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(PROJECT),ytools)
|
ifeq ($(PROJECT),ytools)
|
||||||
MOD_SCRIPT_DIR ?= $(MODDIR)/devutil/scripts
|
MOD_SCRIPT_DIR ?= $(MODDIR)/devutil/scripts
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue