diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
| commit | 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch) | |
| tree | 58590463ada82a27eca0889312c32450358249a8 /frotz/patches/001-change-strip-to-variable.patch | |
| download | qipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz | |
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target
Gforth, removing strange emacs-dependencies that cropped up earlier.
Image file can now be built on the nanonote using 'gforth-update-image'
command. Also, Gforth is now run through a wrapper that calls
'gforth-update-image' automatically, if necessary.
Also first attempts at supporting libcc C-interface libraries pre-compiled on
the host.
Tested to compile on amd64 and i386.
Diffstat (limited to 'frotz/patches/001-change-strip-to-variable.patch')
| -rw-r--r-- | frotz/patches/001-change-strip-to-variable.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/frotz/patches/001-change-strip-to-variable.patch b/frotz/patches/001-change-strip-to-variable.patch new file mode 100644 index 0000000..69fa55f --- /dev/null +++ b/frotz/patches/001-change-strip-to-variable.patch @@ -0,0 +1,49 @@ +change the strip to $(STRIP). + +From: Xiangfu Liu <xiangfu@sharism.cc> + +when cross compile we need use cross comppile strip. + +Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc> +--- + Makefile | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index 3e1253a..aae3eaa 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,6 +3,7 @@ + # + CC = gcc + #CC = cc ++STRIP = strip + + # Define your optimization flags. Most compilers understand -O and -O2, + # Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.) +@@ -213,7 +214,7 @@ soundcard.h: + fi + + install: $(NAME) +- strip $(BINNAME)$(EXTENSION) ++ $(STRIP) $(BINNAME)$(EXTENSION) + install -d $(PREFIX)/bin + install -d $(MAN_PREFIX)/man/man6 + install -c -m 755 $(BINNAME)$(EXTENSION) $(PREFIX)/bin +@@ -226,7 +227,7 @@ uninstall: + deinstall: uninstall + + install_dumb: d$(NAME) +- strip d$(BINNAME)$(EXTENSION) ++ $(STRIP) d$(BINNAME)$(EXTENSION) + install -d $(PREFIX)/bin + install -d $(MAN_PREFIX)/man/man6 + install -c -m 755 d$(BINNAME)$(EXTENSION) $(PREFIX)/bin +@@ -264,7 +265,6 @@ distclean: clean + rm -f *core $(SRCDIR)/*core + -rm -rf $(distdir) + -rm -f $(distdir).tar $(distdir).tar.gz +- + realclean: distclean + + clobber: distclean |
