diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-02-24 13:57:49 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-02-24 17:06:50 +0100 |
commit | 4ee6123d0547b86eb42f193686eb50e0fd4da872 (patch) | |
tree | 1e9545b9e51116201a93290b4e0ce9d3712406ac /solenv/gbuild | |
parent | 752de2112756b49854942c532b083dbe9ea63a2f (diff) |
Do not define PRUDUCT, we only use DBG_UTIL now
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/gbuild.mk | 10 | ||||
-rw-r--r-- | solenv/gbuild/gbuild_simple.mk | 4 |
2 files changed, 1 insertions, 13 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index 0ae3a34a2174..059b416339bf 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -78,12 +78,8 @@ include $(GBUILDDIR)/BuildDirs.mk ifneq ($(strip $(PRODUCT)$(product)),) gb_PRODUCT := $(true) else -ifneq ($(strip $(product)),) -gb_PRODUCT := $(true) -else gb_PRODUCT := $(false) endif -endif ifneq ($(strip $(ENABLE_SYMBOLS)$(enable_symbols)),) gb_SYMBOL := $(true) @@ -185,11 +181,7 @@ gb_GLOBALDEFS := \ $(gb_CPUDEFS) \ -ifeq ($(gb_PRODUCT),$(true)) -gb_GLOBALDEFS += \ - -DPRODUCT \ - -else +ifeq ($(gb_PRODUCT),$(false)) gb_GLOBALDEFS += \ -DDBG_UTIL \ diff --git a/solenv/gbuild/gbuild_simple.mk b/solenv/gbuild/gbuild_simple.mk index a4cdb0d73847..8919d7e8a549 100644 --- a/solenv/gbuild/gbuild_simple.mk +++ b/solenv/gbuild/gbuild_simple.mk @@ -49,12 +49,8 @@ include $(GBUILDDIR)/BuildDirs.mk ifneq ($(strip $(PRODUCT)$(product)),) gb_PRODUCT := $(true) else -ifneq ($(strip $(product)),) -gb_PRODUCT := $(true) -else gb_PRODUCT := $(false) endif -endif # These are useful, too, for stuff built in "custom" Makefiles ifneq ($(strip $(ENABLE_SYMBOLS)$(enable_symbols)),) |