defs.mk.in fix: SED was used before it was defined

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2015-05-31 10:20:26 +00:00
commit 017f811ed3

View file

@ -20,6 +20,11 @@ ifneq ($(wildcard pre-local.mk),)
include pre-local.mk include pre-local.mk
endif endif
# ----- executables
SED = sed
CAT = /bin/cat
SHELL = /bin/bash
# ----- standard variables # ----- standard variables
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].*//')))
ifeq ($(PROJECT),ytools) ifeq ($(PROJECT),ytools)
@ -50,11 +55,6 @@ ifeq ($(PKG_FORMAT),debian)
export INCLUDE_REV_IN_VERSIONS = true export INCLUDE_REV_IN_VERSIONS = true
endif endif
# ----- executables
SED = sed
CAT = /bin/cat
SHELL = /bin/bash
CVS_PROJ_DIR ?= $(TOPDIR)/.. CVS_PROJ_DIR ?= $(TOPDIR)/..
CVSTOPDIR ?= $(CVS_PROJ_DIR)/.. CVSTOPDIR ?= $(CVS_PROJ_DIR)/..