summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-12-03 18:53:48 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-04 07:12:04 +0200
commitcfed9bf52b49e7168d75540d250ac93ffe851d6d (patch)
tree73780d5ae94961398f3620d7f8446799d1a8a731
parent8a5bacd5fba733e99858f7b6af3ac49b18cafa59 (diff)
downloadOSELAS.Toolchain-cfed9bf52b49e7168d75540d250ac93ffe851d6d.tar.gz
uclibc: add version info
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/uclibc.in8
-rw-r--r--rules/uclibc.make8
2 files changed, 16 insertions, 0 deletions
diff --git a/rules/uclibc.in b/rules/uclibc.in
index eb41ec3..f4f1079 100644
--- a/rules/uclibc.in
+++ b/rules/uclibc.in
@@ -30,4 +30,12 @@ config UCLIBC_CONFIG
string
default "uclibc-${PTXCONF_UCLIBC_VERSION}-${PTXCONF_GNU_TARGET}.config"
+config UCLIBC_LICENSE
+ string
+ prompt "uclibc license"
+
+config UCLIBC_LICENSE_FILES
+ string
+ prompt "uclibc license files"
+
endif
diff --git a/rules/uclibc.make b/rules/uclibc.make
index 8ce6fb3..69c11a9 100644
--- a/rules/uclibc.make
+++ b/rules/uclibc.make
@@ -26,6 +26,8 @@ UCLIBC_URL := \
UCLIBC_SOURCE := $(SRCDIR)/$(UCLIBC).$(UCLIBC_SUFFIX)
UCLIBC_DIR := $(BUILDDIR)/$(UCLIBC)
UCLIBC_CONFIG := $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR)/config/$(PTXCONF_UCLIBC_CONFIG))
+UCLIBC_LICENSE := $(call remove_quotes,$(PTXCONF_UCLIBC_LICENSE))
+UCLIBC_LICENSE_FILES := $(call remove_quotes,$(PTXCONF_UCLIBC_LICENSE_FILES))
# ----------------------------------------------------------------------------
# Prepare
@@ -63,6 +65,12 @@ UCLIBC_INSTALL_OPT := \
$(UCLIBC_MAKE_OPT) \
install
+$(STATEDIR)/uclibc.install: $(STATEDIR)/uclibc.report
+ @$(call targetinfo)
+ @$(call world/install, UCLIBC)
+ @$(call world/env, UCLIBC) ptxd_make_world_copy_license
+ @$(call touch)
+
# ----------------------------------------------------------------------------
# oldconfig / menuconfig
# ----------------------------------------------------------------------------