2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
10 PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl
12 include $(INCLUDE_DIR)/host-build.mk
15 $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o
19 rm -rf $(PKG_BUILD_DIR)
20 mkdir -p $(PKG_BUILD_DIR)
25 $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o
29 mkdir -p $(STAGING_DIR)/usr/lib
30 $(CP) $(PKG_BUILD_DIR)/libnotimpl.a $(STAGING_DIR)/usr/lib/
35 $(STAGING_DIR)/usr/lib/libnotimpl.a \
39 $(eval $(call HostBuild))