[all] MODS strings removed (unused)

[all] EEPROM variants
This commit is contained in:
bsongis
2012-10-18 17:45:34 +00:00
parent f497c4f9d2
commit 99283c6ed6
15 changed files with 85 additions and 78 deletions
-13
View File
@@ -385,19 +385,16 @@ endif
# If JETI-Support is enabled
ifeq ($(EXT), JETI)
MODS:=${MODS}J
CPPDEFS += -DJETI
endif
ifeq ($(EXT), MAVLINK)
MODS:=${MODS}M
CPPDEFS += -DMAVLINK
CPPSRC += mavlink.cpp rotarysw.cpp serial.cpp
endif
# If FRSKY-Support is enabled
ifeq ($(EXT), FRSKY)
MODS:=${MODS}F
CPPDEFS += -DFRSKY
CPPSRC += frsky.cpp
# If FRSKY-Hub is enabled
@@ -406,7 +403,6 @@ ifeq ($(EXT), FRSKY)
endif
# If WS HowHigh is enabled
ifeq ($(WS_HOW_HIGH), YES)
MODS:=${MODS}W
CPPDEFS += -DWS_HOW_HIGH
endif
# If Vario is enabled
@@ -424,7 +420,6 @@ ifeq ($(EEPROM_PROGRESS_BAR), YES)
endif
ifeq ($(SDCARD), YES)
MODS:=${MODS}S
CPPDEFS += -DSDCARD
CPPSRC += logs.cpp
endif
@@ -455,7 +450,6 @@ ifeq ($(PCB), X9D)
endif
ifeq ($(BLUETOOTH), YES)
MODS:=${MODS}S
CPPDEFS += -DBLUETOOTH
CPPSRC += sky9x/bluetooth.cpp
endif
@@ -491,7 +485,6 @@ ifeq ($(PCB), SKY9X)
endif
ifeq ($(BLUETOOTH), YES)
MODS:=${MODS}S
CPPDEFS += -DBLUETOOTH
CPPSRC += sky9x/bluetooth.cpp
endif
@@ -525,7 +518,6 @@ ifeq ($(PCB), GRUVIN9X)
ifeq ($(EXTRA_ROTARY_ENCODERS), YES)
CPPDEFS += -DEXTRA_ROTARY_ENCODERS
MODS:=${MODS}X
endif
endif
@@ -611,7 +603,6 @@ ifeq ($(DECIMALS), YES)
endif
ifeq ($(HELI), YES)
MODS:=${MODS}H
CPPDEFS += -DHELI
endif
@@ -738,28 +729,24 @@ stamp_header:
@echo "//Automatically generated file (Makefile) - do not edit" > stamp-open9x.h
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" >> stamp-open9x.h
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x.h
@echo "#define VERS_STR \"$(MAJ_VER).$(MIN_VER)-$(MODS)\"" >> stamp-open9x.h
@echo "#define SVN_STR \"open9x-r$(SVNREV)\"" >> stamp-open9x.h
@cat stamp-open9x.h
stock-stamp:
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-stock.txt
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-stock.txt
@echo "#define VERS_STR \"$(MAJ_VER).$(MIN_VER)\"" >> stamp-open9x-stock.txt
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-stock.txt
@cat stamp-open9x-stock.txt
v4-stamp:
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-v4.txt
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-v4.txt
@echo "#define VERS_STR \"$(MAJ_VER).$(MIN_VER)\"" >> stamp-open9x-v4.txt
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-v4.txt
@cat stamp-open9x-v4.txt
arm-stamp:
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-open9x-arm.txt
@echo "#define TIME_STR \"`date +%H:%M:%S`\"" >> stamp-open9x-arm.txt
@echo "#define VERS_STR \"$(MAJ_VER).$(MIN_VER)\"" >> stamp-open9x-arm.txt
@echo "#define SVN_VERS \"open9x-r$(SVNREV)\"" >> stamp-open9x-arm.txt
@cat stamp-open9x-arm.txt