1 include $(TOPDIR)/rules.mk
3 LIBNOTIMPL_DIR:=$(TOOL_BUILD_DIR)/libnotimpl
5 LIBNOTIMPL_SRCS+=./files/math.c
6 LIBNOTIMPL_OBJS:=$(patsubst ./files/%.c,$(LIBNOTIMPL_DIR)/%.o,$(LIBNOTIMPL_SRCS))
8 $(LIBNOTIMPL_DIR)/.prepared:
9 mkdir -p $(LIBNOTIMPL_DIR)
12 $(LIBNOTIMPL_OBJS): $(LIBNOTIMPL_DIR)/%.o : ./files/%.c
13 $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@
15 $(LIBNOTIMPL_DIR)/libnotimpl.a: $(LIBNOTIMPL_OBJS)
16 $(TARGET_CROSS)ar rc $(LIBNOTIMPL_DIR)/libnotimpl.a $(LIBNOTIMPL_OBJS)
18 $(STAGING_DIR)/usr/lib/libnotimpl.a: $(LIBNOTIMPL_DIR)/libnotimpl.a
19 mkdir -p $(STAGING_DIR)/usr/lib
24 prepare: $(LIBNOTIMPL_DIR)/.prepared
25 compile: $(LIBNOTIMPL_DIR)/libnotimpl.a
26 install: $(STAGING_DIR)/usr/lib/libnotimpl.a
29 $(STAGING_DIR)/usr/lib/libnotimpl.a \