[tools] quilt: make relocatable, search resources relative to STAGING_DIR
[openwrt.git] / tools / quilt / patches / 001-fix_compile.patch
diff --git a/tools/quilt/patches/001-fix_compile.patch b/tools/quilt/patches/001-fix_compile.patch
new file mode 100644 (file)
index 0000000..51a4f5e
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -273,13 +273,10 @@ $(patsubst %.in,%,$(wildcard bin/*.in qu
+ lib/backup-files.o :: Makefile
+ configure : configure.ac aclocal.m4
+-      autoconf
+-      @echo "Please run ./configure"
+-      @false
++      @touch $@
+ Makefile : Makefile.in configure
+-      @echo "Please run ./configure"
+-      @false
++      @touch $@
+ compat_leftover := $(filter-out $(COMPAT),$(shell $(FIND) compat -maxdepth 1 -type f -perm +111))