Skip to content

Commit

Permalink
Add OS02G10
Browse files Browse the repository at this point in the history
  • Loading branch information
dimerr committed Jan 18, 2025
1 parent e756fa4 commit fdc6073
Show file tree
Hide file tree
Showing 5 changed files with 3,290 additions and 0 deletions.
17 changes: 17 additions & 0 deletions libraries/sensor/hi3516ev200/omnivision_os02g10/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
LIB_NAME := libsns_os02g10

override CFLAGS += -DSDK_CODE=$(SDK_CODE) -fPIC -I$(CURDIR)/../../../../include

SRCS := $(wildcard *.c)
OBJS := $(SRCS:%.c=%.o) $(ASM_SRCS:%.S=%.o)

all: $(LIB_NAME).so $(LIB_NAME).a

$(LIB_NAME).so: $(OBJS)
$(CC) -shared -o $@ $(OBJS)

$(LIB_NAME).a: $(OBJS)
$(AR) -rcs $(LIB_NAME).a $(OBJS)

clean:
-rm $(OBJS) $(LIB_NAME).so
Loading

0 comments on commit fdc6073

Please sign in to comment.