forked from ndmsystems/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (33 loc) · 834 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# Copyright (C) 2007-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libubacktrace
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
LIBC_VERSION:=0.9.33-ndm-4
define Package/libubacktrace
SECTION:=libs
CATEGORY:=Base system
VERSION:=$(LIBC_VERSION)-$(PKG_RELEASE)
TITLE:=uClibc libubacktrace
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Compile
#nothing to do
endef
ifeq ($(CONFIG_TOOLCHAIN_LIBC_GLIBC),y)
define Package/libubacktrace/install
endef
else
define Package/libubacktrace/install
$(INSTALL_DIR) $(1)/lib
find $(BUILD_DIR_TOOLCHAIN)/sysroot-* -name libubacktrace.so.0 -exec cp {} $(1)/lib/ \;
endef
endif
$(eval $(call BuildPackage,libubacktrace))