diff --git a/build/nandfirm/menu-launcher/ARM9/Makefile b/build/nandfirm/menu-launcher/ARM9/Makefile index 9d2f87b0..4283ad4e 100644 --- a/build/nandfirm/menu-launcher/ARM9/Makefile +++ b/build/nandfirm/menu-launcher/ARM9/Makefile @@ -41,9 +41,12 @@ MAKEROM_ARM7_BASE = $(basename $(MAKEROM_ARM7)) include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -# no thumb version - +# no thumb version, no final rom version +ifeq ($(TARGET_FINALROM),) LLIBRARIES += libes.TWL$(ARCHGEN_TYPE).a libboc.TWL$(ARCHGEN_TYPE).a +else +LLIBRARIES += ../Release/libes.TWL$(ARCHGEN_TYPE).a ../Release/libboc.TWL$(ARCHGEN_TYPE).a +endif #---------------------------------------------------------------------------- diff --git a/build/nandfirm/menu-launcher2/ARM9/Makefile b/build/nandfirm/menu-launcher2/ARM9/Makefile index 956b6697..918106b8 100644 --- a/build/nandfirm/menu-launcher2/ARM9/Makefile +++ b/build/nandfirm/menu-launcher2/ARM9/Makefile @@ -39,9 +39,12 @@ MAKEROM_ARM7_BASE = $(basename $(MAKEROM_ARM7)) include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs -# no thumb version - +# no thumb version, no final rom version +ifeq ($(TARGET_FINALROM),) LLIBRARIES += libes.TWL$(ARCHGEN_TYPE).a libboc.TWL$(ARCHGEN_TYPE).a +else +LLIBRARIES += ../Release/libes.TWL$(ARCHGEN_TYPE).a ../Release/libboc.TWL$(ARCHGEN_TYPE).a +endif #----------------------------------------------------------------------------