mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
Support user to control PSE on/off (chip: tps23861) via ucentral config file. Use uci-default to write poe's uci default file. Fixes: WIFI-14724 Signed-off-by: jackcybertan <jack.tsai@cybertan.com.tw>
27 lines
341 B
Makefile
27 lines
341 B
Makefile
CFLAGS += -Wall -g
|
|
|
|
INCLUDES =
|
|
|
|
LDFLAGS = -lubus -lubox -li2c
|
|
|
|
LIBS =
|
|
|
|
SRCS = tps23861-poe-ctrl.c \
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
MAIN = tps23861-poe-ctrl
|
|
|
|
|
|
all: $(MAIN)
|
|
|
|
$(MAIN): $(OBJS)
|
|
$(CC) $(CFLAGS) $(INCLUDES) -o $(MAIN) $(OBJS) $(LDFLAGS) $(LIBS)
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
|
|
|
clean:
|
|
$(RM) *.o *~ $(MAIN) $(TEST)
|
|
|