Skip to content

Commit

Permalink
remove: wallet app from the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Feb 22, 2024
1 parent 4c3f0c0 commit 04210eb
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@ $(error Environment variable BOLOS_SDK is not set)
endif
include $(BOLOS_SDK)/Makefile.defines

ifeq ($(APP),)
APP=tezos_wallet
endif

ifeq ($(APP),tezos_baking)
APPNAME = "Tezos Baking"
else ifeq ($(APP),tezos_wallet)
APPNAME = "Tezos Wallet"
endif

ifeq ($(TARGET_NAME), TARGET_NANOS)
APP_LOAD_FLAGS=--appFlags 0x800 # APPLICATION_FLAG_LIBRARY
Expand Down Expand Up @@ -60,7 +52,7 @@ all: show-app default

.PHONY: show-app
show-app:
@echo ">>>>> Building $(APP) at commit $(COMMIT)"
@echo ">>>>> Building at commit $(COMMIT)"


############
Expand Down Expand Up @@ -140,15 +132,7 @@ endif

CC := $(CLANGPATH)clang

ifeq ($(APP),tezos_wallet)
CFLAGS += -O3 -Os -Wall -Wextra -Wno-incompatible-pointer-types-discards-qualifiers
else ifeq ($(APP),tezos_baking)
CFLAGS += -DBAKING_APP -O3 -Os -Wall -Wextra -Wno-incompatible-pointer-types-discards-qualifiers
else
ifeq ($(filter clean,$(MAKECMDGOALS)),)
$(error Unsupported APP - use tezos_wallet, tezos_baking)
endif
endif

AS := $(GCCPATH)arm-none-eabi-gcc

Expand All @@ -167,16 +151,6 @@ ifneq ($(TARGET_NAME),TARGET_STAX)
SDK_SOURCE_PATH += lib_ux
endif

### U2F support (wallet app only)
ifeq ($(APP), tezos_wallet)
SDK_SOURCE_PATH += lib_u2f lib_stusb_impl

DEFINES += USB_SEGMENT_SIZE=64

DEFINES += U2F_PROXY_MAGIC=\"XTZ\"
DEFINES += HAVE_IO_U2F HAVE_U2F
endif

DEFINES += HAVE_WEBUSB WEBUSB_URL_SIZE_B=0 WEBUSB_URL=""

load: all
Expand All @@ -189,7 +163,7 @@ delete:
include $(BOLOS_SDK)/Makefile.rules

listvariants:
@echo VARIANTS APP tezos_wallet tezos_baking
@echo VARIANTS APP tezos_baking

# Define DEP_DIR to keep compatibility with old SDK
ifeq ($(DEP_DIR),)
Expand Down

0 comments on commit 04210eb

Please sign in to comment.