diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-08-08 07:28:31 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-08-08 07:28:31 +0000 |
commit | 02d99e596241bc2852cf72781940351c602c2e2a (patch) | |
tree | 2ec9e609d6b8b06dd57335638330e63ec30e5714 /rules/utelnetd.make | |
parent | df7f52bca3a18d3058ccb78c23e61b60d15b343d (diff) | |
download | ptxdist-02d99e596241bc2852cf72781940351c602c2e2a.tar.gz ptxdist-02d99e596241bc2852cf72781940351c602c2e2a.tar.xz |
* utelnetd:
Currently utelnetd skips the patch procedure after extracting the package.
This patch fixes that.
It also adds a patch to utelnetd to make it use the EXTRA_CFLAGS during compilation
of the package. This is required for some architectures to pass flags like
CPU-type to the compilation.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8729 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/utelnetd.make')
-rw-r--r-- | rules/utelnetd.make | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/utelnetd.make b/rules/utelnetd.make index 2933ed15c..d0df7ae78 100644 --- a/rules/utelnetd.make +++ b/rules/utelnetd.make @@ -47,6 +47,7 @@ $(STATEDIR)/utelnetd.extract: $(utelnetd_extract_deps_default) @$(call targetinfo, $@) @$(call clean, $(UTELNETS_DIR)) @$(call extract, UTELNETD) + @$(call patchin, UTELNETD) @$(call touch, $@) # ---------------------------------------------------------------------------- @@ -66,7 +67,8 @@ $(STATEDIR)/utelnetd.prepare: $(utelnetd_prepare_deps_default) utelnetd_compile: $(STATEDIR)/utelnetd.compile UTELNETD_ENVIRONMENT += PATH=$(CROSS_PATH) -UTELNETD_MAKEVARS += CROSS=$(COMPILER_PREFIX) +UTELNETD_MAKEVARS += CROSS=$(COMPILER_PREFIX) \ + EXTRA_CFLAGS='$(call remove_quotes,$(TARGET_CFLAGS))' $(STATEDIR)/utelnetd.compile: $(utelnetd_compile_deps_default) @$(call targetinfo, $@) |