Skip to content

Commit

Permalink
config/options:
Browse files Browse the repository at this point in the history
- now make without set PROJECT variable works, default is project "generic"
  • Loading branch information
Stephan Raue committed Jan 15, 2010
1 parent aecf192 commit 83cd79d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Use shell variables, if defined
ifeq ($(PROJECT),)
export PROJECT=generic
endif

BUILD_DIRS="build.*"

all: system
Expand Down
12 changes: 9 additions & 3 deletions config/options
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Project name
PROJECT=${PROJECT}
# determines PROJECT, if not forced by user
# default is generic
if [ -z "$PROJECT" ]; then
PROJECT="generic"
else
PROJECT=$PROJECT
fi

# determines TARGET_ARCH, if not forced by user
# determines TARGET_ARCH, if not forced by user (i386 / x86_64 / powerpc)
# default is i386
if [ -z "$ARCH" ]; then
TARGET_ARCH="i386"
else
Expand Down

0 comments on commit 83cd79d

Please sign in to comment.