6/01/2012

How OEM's can recompile the hsu.lib?

The following changes are required to compile the hsu.lib for customers.

if drivers/hsusb/reference_only directory doesn't exist in build, we can skip step 1.


1. Copy drivers/hsusb/reference_only/core/* to drivers/hsusb/core/*



2. Modify lib_hsu_core.min

# remove -DFEATURE_LIBRARY_ONLY

#$(HSU_CORE_ALL_LIB_OBJS): CFLAGS := $(CFLAGS) -DJDEBUG -DUSB_DEBUG -DFEATURE_LIBRARY_ONLY

$(HSU_CORE_ALL_LIB_OBJS): CFLAGS := $(CFLAGS) -DJDEBUG -DUSB_DEBUG



3. Modify dmss_rules.min

<snip>

## High Speed USB

ifeq ($(USES_HSU), yes)

# Add the below line to recompile hsu_core.lib

include $(HSU)/core/src/lib_hsu_core.min

QCTLIBS := $(QCTLIBS) $(LIBDIR)/hsusb/$(BUILD)/hsu_core.lib

else

<snip>

No comments:

Post a Comment