summaryrefslogtreecommitdiff
path: root/packages/bootmenu/bootmenu-0.6/compile.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/bootmenu/bootmenu-0.6/compile.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/bootmenu/bootmenu-0.6/compile.patch')
-rw-r--r--packages/bootmenu/bootmenu-0.6/compile.patch69
1 files changed, 0 insertions, 69 deletions
diff --git a/packages/bootmenu/bootmenu-0.6/compile.patch b/packages/bootmenu/bootmenu-0.6/compile.patch
deleted file mode 100644
index 1d42f59925..0000000000
--- a/packages/bootmenu/bootmenu-0.6/compile.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-
-#
-# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- bootmenu-0.6/src/Makefile~compile
-+++ bootmenu-0.6/src/Makefile
-@@ -20,9 +20,9 @@
- SOS=
-
- ifeq ($(HAVE_PLUGINS),y)
--CFLAGS+=-DPLUGINS
--LDFLAGS += -rdynamic
--LIBS += -ldl
-+override CFLAGS+=-DPLUGINS -D_PLUGINDIR="\"$(PLUGINDIR)\""
-+override LDFLAGS += -rdynamic
-+override LIBS += -ldl
- OBJS += plugins.o
- SOS = $(patsubst %,%.so,$(PLUGINS))
-
-@@ -33,20 +33,22 @@
- endif
-
- ifeq ($(USE_SYSLOG),y)
--CFLAGS+=-DSYSLOG
-+override CFLAGS+=-DSYSLOG
- else
- OBJS+=log.o
- endif
-
-+DESTDIR=
- PREFIX=/usr/local/bin
--PLUGINS=/usr/share/bootmenu
-+PLUGINDIR=/usr/share/bootmenu
-
- all: $(APP)
-
- install: $(APP)
-- cp $(APP) $(PRFIX)/$(APP)
-- mkdir -p $(PLUGINS)
-- cp *.so $(PLUGINS)
-+ install -d $(DESTDIR)$(PREFIX)
-+ install -m 0755 $(APP) $(DESTDIR)$(PREFIX)/$(APP)
-+ install -d $(DESTDIR)$(PLUGINDIR)
-+ install -m 0755 *.so $(DESTDIR)$(PLUGINDIR)
-
- clean:
- rm -f *.o *.so $(APP)
-@@ -59,7 +61,7 @@
- #####
-
- %.so: %.c
-- $(CC) $(CFLAGS) $($(*)_CFLAGS) -shared -o $@ $< $($(*)_LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $($(*)_CFLAGS) -shared -o $@ $< $($(*)_LIBS)
-
- plugins.o: plugins.c
- $(CC) -c $(CFLAGS) -DDEFAULT_PLUGIN="\"$(DEFAULT_PLUGIN)\"" -o $@ $<
---- bootmenu-0.6/src/plugins.c~compile
-+++ bootmenu-0.6/src/plugins.c
-@@ -28,7 +28,9 @@
- #include <fcntl.h>
- #include "bootmenu.h"
-
-+#ifndef _PLUGINDIR
- #define _PLUGINDIR "/usr/share/bootmenu"
-+#endif
-
- extern struct config bootmenu_config;
-