-DBUILD_TAG='"$(BUILD_TAG)"'
else
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
-ifeq ($(COMPRESSED_UBOOT),1)
+ifdef COMPRESSED_UBOOT
CFLAGS += -DCOMPRESSED_UBOOT=1
-else
-CFLAGS += -DCOMPRESSED_UBOOT=0
endif
ifeq ($(BUILD_OPTIMIZED),y)
AFLAGS_DEBUG := -Wa,-gstabs
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
-ifeq ($(COMPRESSED_UBOOT),1)
+ifdef COMPRESSED_UBOOT
AFLAGS += -DCOMPRESSED_UBOOT=1
-else
-AFLAGS += -DCOMPRESSED_UBOOT=0
endif
LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE) $(PLATFORM_LDFLAGS)
-ifeq ($(COMPRESSED_UBOOT), 1)
+ifdef COMPRESSED_UBOOT
LDFLAGS_BOOTSTRAP += -Bstatic -T $(LDSCRIPT_BOOTSTRAP) -Ttext $(BOOTSTRAP_TEXT_BASE) $(PLATFORM_LDFLAGS)
endif