[Buildroot] Makefile.autotools.in problems
Daniel Laird
daniel.j.laird at nxp.com
Fri Jul 11 12:42:51 UTC 2008
Oops, wrong patch :-(
Heres the correct patch:
diff -urN buildroot-20080708.orig/buildroot/package/Makefile.autotools.in
buildroot-20080708/buildroot/package/Makefile.autotools.in
--- buildroot-20080708.orig/buildroot/package/Makefile.autotools.in
2008-07-08 13:47:19.000000000 +0100
+++ buildroot-20080708/buildroot/package/Makefile.autotools.in 2008-07-11
13:39:36.000000000 +0100
@@ -170,12 +170,16 @@
$(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR)
$($(PKG)_PATCH))
$(Q)( \
if test -d $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME); then \
+ if test -d
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/patches-$($(PKG)_VERSION); then \
+ toolchain/patch-kernel.sh $(@D)
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/patches-$($(PKG)_VERSION)/ \*.patch
\*.patch.$(ARCH) || exit 1; \
+ else \
if test "$(wildcard
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER)*.patch*)"; then \
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)
$(NAMEVER)\*.patch $(NAMEVER)\*.patch.$(ARCH) || exit 1; \
else \
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)
$($(PKG)_NAME)\*.patch $($(PKG)_NAME)\*.patch.$(ARCH) || exit 1; \
if test -d package/$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER);
then \
toolchain/patch-kernel.sh $(@D)
$($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER) \*.patch \*.patch.$(ARCH) ||
exit 1; \
+ fi; \
fi; \
fi; \
fi; \
Any thoughts?
--
View this message in context: http://www.nabble.com/Makefile.autotools.in-problems-tp18377517p18402988.html
Sent from the BuildRoot mailing list archive at Nabble.com.
More information about the buildroot
mailing list