use upload var if present; clean up STANDALONE_ONLY var

This commit is contained in:
ehouse 2005-02-26 03:00:37 +00:00
parent ea5916364b
commit 8f7bbfa770

View file

@ -6,7 +6,7 @@ SERIES ?= 80
EPOC = $(EPOC_$(SERIES))
PATH = $(EPOC)/bin:/local/bin:/usr/bin:/bin
PATH = $(EPOC)/bin:/local/bin:/usr/bin:/bin:$(HOME)/bin
BMCONV = bmconv
@ -18,6 +18,8 @@ XWORDS_DIR = \"xwords_$(SERIES)\"
include ../../common/config.mk
#STANDALONE_ONLY ?= -DXWFEATURE_STANDALONE_ONLY
LIBS_ALLSERIES = \
$(EPOCTRGREL)/euser.lib \
$(EPOCTRGREL)/apparc.lib \
@ -75,6 +77,7 @@ LCLSRC = \
$(SRCDIR)/symblnk.cpp \
$(SRCDIR)/symgamdl.cpp \
$(SRCDIR)/symgamed.cpp \
$(SRCDIR)/symssock.cpp \
IMG_SRC = ../bmps/downarrow_80.bmp \
../bmps/rightarrow_80.bmp \
@ -111,7 +114,7 @@ CFLAGS += -O -I. -DUID3=0x$(U3) $(DEBUG_FLAGS) \
-DXWORDS_DIR=$(XWORDS_DIR) \
-D__LITTLE_ENDIAN -DKEYBOARD_NAV \
-DKEY_SUPPORT -DFEATURE_TRAY_EDIT -DNODE_CAN_4 \
-DXWFEATURE_STANDALONE_ONLY -D$(SYMARCH) \
$(STANDALONE_ONLY) -D$(SYMARCH) \
-DSYM_ARMI -DOS_INITS_DRAW \
$(INCDIR)
@ -130,6 +133,10 @@ all: _sanity $(PKGFILES) $(NAME).sis
ifdef XW_UPLOAD_DIR
cp $(NAME)-$(MAJOR).$(MINOR)-$(ARCH).sis $$XW_UPLOAD_DIR
endif
ifdef XW_UPLOAD_CMD
echo $(PATH)
$(XW_UPLOAD_CMD) $(NAME)-$(MAJOR).$(MINOR)-$(ARCH).sis
endif
_sanity:
@if [ "$(EPOC_$(SERIES))" = "" ]; then \