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.
9 include $(TOPDIR
)/rules.mk
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/libnotimpl
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/libnotimpl
20 TITLE
:=Implements functions missing from uClibc
24 $(TARGET_CC
) $(TARGET_CFLAGS
) -Wall
-c src
/$(1).c
-o
$(PKG_BUILD_DIR
)/$(1).o
28 rm -rf
$(PKG_BUILD_DIR
)
29 mkdir
-p
$(PKG_BUILD_DIR
)
34 $(TARGET_CROSS
)ar rc
$(PKG_BUILD_DIR
)/libnotimpl.a
$(PKG_BUILD_DIR
)/*.o
37 define Build
/InstallDev
38 mkdir
-p
$(STAGING_DIR
)/usr
/lib
39 $(CP
) $(PKG_BUILD_DIR
)/libnotimpl.a
$(STAGING_DIR
)/usr
/lib
/
42 define Build
/UninstallDev
43 rm -f
$(STAGING_DIR
)/usr
/lib
/libnotimpl.a
46 $(eval
$(call Build
/DefaultTargets
))