summaryrefslogtreecommitdiffstats
path: root/patches/attr-2.4.44
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2009-11-02 14:01:51 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2009-11-02 16:00:07 +0100
commitc1cac65d0d40806255d7fbf2c04c389d04fc447b (patch)
tree81123693fc1033c5a591d8bf09176f815a7057cb /patches/attr-2.4.44
parentd944ffc56f40eef022e00db414e7bdfd0a53b398 (diff)
downloadptxdist-c1cac65d0d40806255d7fbf2c04c389d04fc447b.tar.gz
ptxdist-c1cac65d0d40806255d7fbf2c04c389d04fc447b.tar.xz
[attr] version bump 2.4.43 -> 2.4.44
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/attr-2.4.44')
-rw-r--r--patches/attr-2.4.44/fix-buildsystem.diff38
-rw-r--r--patches/attr-2.4.44/series4
2 files changed, 42 insertions, 0 deletions
diff --git a/patches/attr-2.4.44/fix-buildsystem.diff b/patches/attr-2.4.44/fix-buildsystem.diff
new file mode 100644
index 000000000..e099a5645
--- /dev/null
+++ b/patches/attr-2.4.44/fix-buildsystem.diff
@@ -0,0 +1,38 @@
+Subject: [patch] attr: make attr DESTDIR aware
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+
+Make DESTDIR aware and use correct libtool commands.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ include/buildmacros | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+Index: b/include/buildmacros
+===================================================================
+--- a/include/buildmacros
++++ b/include/buildmacros
+@@ -40,7 +40,7 @@ OBJECTS = $(ASFILES:.s=.o) \
+ $(LFILES:.l=.o) \
+ $(YFILES:%.y=%.tab.o)
+
+-INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
++INSTALL = DIST_ROOT=$(DESTDIR) $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
+
+ SHELL = /bin/sh
+ IMAGES_DIR = $(TOPDIR)/all-images
+@@ -55,10 +55,10 @@ LIBNAME = $(basename $(LTLIBRARY))
+ LTOBJECTS = $(OBJECTS:.o=.lo)
+ LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
+-LTLINK = $(LIBTOOL) --mode=link $(CC)
++LTLINK = $(LIBTOOL) --tag=CC --mode=link $(CC)
+ LTEXEC = $(LIBTOOL) --mode=execute
+-LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+-LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF)
++LTINSTALL = DIST_ROOT=$(DESTDIR) $(LIBTOOL) --mode=install $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
++LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CCF)
+
+ ifeq ($(ENABLE_SHARED),yes)
+ LTLDFLAGS += -rpath $(PKG_LIB_DIR)
diff --git a/patches/attr-2.4.44/series b/patches/attr-2.4.44/series
new file mode 100644
index 000000000..0785744ef
--- /dev/null
+++ b/patches/attr-2.4.44/series
@@ -0,0 +1,4 @@
+
+
+
+fix-buildsystem.diff