178,7 → 178,7 |
LIB_DEP += $(LIB_PATH)/libcomp.a |
endif |
|
# comp |
# Linux Emulation Layer 2.6 |
ifeq ($(LIB_PATH)/libcomp26.a,$(wildcard $(LIB_PATH)/libcomp26.a)) |
LINK_LIB += -lcomp26 |
LIB_DEP += $(LIB_PATH)/libcomp26.a |
364,6 → 364,32 |
|
endif |
|
# I2C |
# ---------------------------------------------------------------- |
ifeq ($(findstring __I2C__, $(USELIB)), __I2C__) |
|
INCL += -I$(BASE)/drivers/i2c/include -I$(BASE)/drivers/linuxc26/include |
|
ifeq ($(LIB_PATH)/libi2c.a,$(wildcard $(LIB_PATH)/libi2c.a)) |
LINK_LIB += -li2c |
LINK_DEP += $(LIB_PATH)/libi2c.a |
endif |
|
endif |
|
# CM7326 |
# ---------------------------------------------------------------- |
ifeq ($(findstring __CM7326__, $(USELIB)), __CM7326__) |
|
INCL += -I$(BASE)/drivers/cm7326/include -I$(BASE)/drivers/linuxc26/include |
|
ifeq ($(LIB_PATH)/libcm7326.a,$(wildcard $(LIB_PATH)/libcm7326.a)) |
LINK_LIB += -lcm7326 |
LINK_DEP += $(LIB_PATH)/libcm7326.a |
endif |
|
endif |
|
# TFTP |
# ---------------------------------------------------------------- |
ifeq ($(findstring __TFTP__, $(USELIB)), __TFTP__) |