2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
11 include $(INCLUDE_DIR
)/package.mk
12 include $(INCLUDE_DIR
)/kernel.mk
14 define Package
/libtapi
18 DEPENDS
:=@TARGET_ifxmips_danube
22 mkdir
-p
$(PKG_BUILD_DIR
)
23 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
27 CFLAGS
="$(TARGT_CPPFLAGS) $(TARGET_CFLAGS)" \
28 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 $(TARGET_CONFIGURE_OPTS
)
32 define Build
/InstallDev
33 $(INSTALL_DIR
) $(1)/usr
/{include,lib
}
34 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/*.h
$(1)/usr
/include/
35 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/*.so
$(1)/usr
/lib
/
38 define Package
/libtapi
/install
39 $(INSTALL_DIR
) $(1)/usr
/lib
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/libtapi.so
* $(1)/usr
/lib
/
43 $(eval
$(call BuildPackage
,libtapi
))
This page took 0.037643 seconds and 5 git commands to generate.