mirror of
https://github.com/LedgerHQ/openpgp-card-app
synced 2024-11-09 07:10:30 +00:00
updating local Makefile.rules file
This commit is contained in:
parent
5435547497
commit
7640bf76a6
9
Makefile
9
Makefile
@ -114,6 +114,11 @@ DEFINES += APPVERSION=\"$(APPVERSION)\"
|
|||||||
|
|
||||||
DEFINES += HAVE_USB_CLASS_CCID
|
DEFINES += HAVE_USB_CLASS_CCID
|
||||||
|
|
||||||
|
ifeq ($(NO_CXNG),)
|
||||||
|
INCLUDES_PATH += $(BOLOS_SDK)/lib_cxng/include
|
||||||
|
SOURCE_PATH += $(BOLOS_SDK)/lib_cxng/src
|
||||||
|
endif
|
||||||
|
|
||||||
# RSA addition.
|
# RSA addition.
|
||||||
DEFINES += HAVE_RSA
|
DEFINES += HAVE_RSA
|
||||||
INCLUDES_PATH += $(BOLOS_SDK)/lib_cxng/src
|
INCLUDES_PATH += $(BOLOS_SDK)/lib_cxng/src
|
||||||
@ -222,8 +227,8 @@ delete:
|
|||||||
|
|
||||||
|
|
||||||
# import generic rules from the user and SDK
|
# import generic rules from the user and SDK
|
||||||
#-include Makefile.rules
|
-include Makefile.rules
|
||||||
include $(BOLOS_SDK)/Makefile.rules
|
#include $(BOLOS_SDK)/Makefile.rules
|
||||||
|
|
||||||
#add dependency on custom makefile filename
|
#add dependency on custom makefile filename
|
||||||
dep/%.d: %.c Makefile
|
dep/%.d: %.c Makefile
|
||||||
|
@ -24,9 +24,9 @@ endif
|
|||||||
|
|
||||||
#Make the SDK modified SDK sources prioritar to the original ones
|
#Make the SDK modified SDK sources prioritar to the original ones
|
||||||
|
|
||||||
SOURCE_PATH += $(dir $(foreach libdir, $(APP_SOURCE_PATH), $(dir $(shell find $(libdir) | grep "\.c$$")))) $(BOLOS_SDK)/src $(foreach libdir, $(SDK_SOURCE_PATH), $(dir $(shell find $(BOLOS_SDK)/$(libdir) | grep "\.c$$")))
|
SOURCE_PATH += $(dir $(foreach libdir, $(APP_SOURCE_PATH), $(dir $(shell find $(libdir) -name '*.c' -or -name '*.s')))) $(BOLOS_SDK)/src $(foreach libdir, $(SDK_SOURCE_PATH), $(dir $(shell find $(BOLOS_SDK)/$(libdir) -name '*.c' -or -name '*.s')))
|
||||||
SOURCE_FILES := $(foreach path, $(SOURCE_PATH),$(shell find $(path) | grep "\.c$$") ) $(GLYPH_DESTC)
|
SOURCE_FILES := $(foreach path, $(SOURCE_PATH),$(shell find $(path) -name '*.c' -or -name '*.s') ) $(GLYPH_DESTC)
|
||||||
INCLUDES_PATH := $(dir $(foreach libdir, $(APP_SOURCE_PATH), $(dir $(shell find $(libdir) | grep "\.h$$")))) $(dir $(foreach libdir, $(SDK_SOURCE_PATH), $(dir $(shell find $(BOLOS_SDK)/$(libdir) | grep "\.h$$")))) include $(BOLOS_SDK)/include $(BOLOS_SDK)/include/arm
|
INCLUDES_PATH += $(dir $(foreach libdir, $(APP_SOURCE_PATH), $(dir $(shell find $(libdir) | grep "\.h$$")))) $(dir $(foreach libdir, $(SDK_SOURCE_PATH), $(dir $(shell find $(BOLOS_SDK)/$(libdir) | grep "\.h$$")))) include $(BOLOS_SDK)/include $(BOLOS_SDK)/include/arm
|
||||||
|
|
||||||
VPATH := $(dir $(SOURCE_FILES))
|
VPATH := $(dir $(SOURCE_FILES))
|
||||||
OBJECT_FILES := $(sort $(addprefix obj/, $(addsuffix .o, $(basename $(notdir $(SOURCE_FILES))))))
|
OBJECT_FILES := $(sort $(addprefix obj/, $(addsuffix .o, $(basename $(notdir $(SOURCE_FILES))))))
|
||||||
|
@ -35,8 +35,4 @@ extern unsigned char G_io_seproxyhal_spi_buffer[IO_SEPROXYHAL_BUFFER_SIZE_B];
|
|||||||
int apdu_n;
|
int apdu_n;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gpg_v_state_t G_gpg_vstate;
|
gpg_v_state_t G_gpg_vstate;
|
||||||
|
|
||||||
#ifdef HAVE_RSA
|
|
||||||
union cx_u G_cx;
|
|
||||||
#endif // HAVE_RSA
|
|
Loading…
Reference in New Issue
Block a user