Makefile.autotools.in: fix patch dir for version specific subdir
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Aug 2008 19:08:35 +0000 (19:08 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Aug 2008 19:08:35 +0000 (19:08 -0000)
package/Makefile.autotools.in

index 97f53d57d8a2f9cc8764c19c2f2cc575f4ac65d2..c01a73eb1675b8fe2ee8fb1e3fe472094f92a758 100644 (file)
@@ -174,7 +174,7 @@ $(BUILD_DIR)/%/.stamp_patched:
            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 \
+           if test -d $($(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; \