mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
58
meta/recipes-devtools/insserv/files/make.patch
Normal file
58
meta/recipes-devtools/insserv/files/make.patch
Normal file
@@ -0,0 +1,58 @@
|
||||
=== modified file 'Makefile'
|
||||
--- old/Makefile 2008-06-24 14:49:47 +0000
|
||||
+++ new/Makefile 2008-06-24 15:56:15 +0000
|
||||
@@ -7,10 +7,10 @@
|
||||
INITDIR = /etc/init.d
|
||||
INSCONF = /etc/insserv.conf
|
||||
#DESTDIR = /tmp/root
|
||||
-#DEBUG = -DDEBUG=1 -Wpacked
|
||||
+DEBUG = -DDEBUG=1 -Wpacked
|
||||
#LOOPS = -DIGNORE_LOOPS=1
|
||||
DEBUG =
|
||||
-ISSUSE = -DSUSE
|
||||
+#ISSUSE = -DSUSE
|
||||
DESTDIR =
|
||||
VERSION = 1.11.0
|
||||
DATE = $(shell date +'%d%b%y' | tr '[:lower:]' '[:upper:]')
|
||||
@@ -28,7 +28,9 @@
|
||||
COPTS = -O2
|
||||
endif
|
||||
endif
|
||||
- CFLAGS = -Wall $(COPTS) $(DEBUG) $(LOOPS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
|
||||
+COPTS += -g
|
||||
+
|
||||
+ MY_CFLAGS = $(CFLAGS) -Wall $(COPTS) $(DEBUG) $(LOOPS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
|
||||
$(ISSUSE) -DINITDIR=\"$(INITDIR)\" -DINSCONF=\"$(INSCONF)\" -pipe
|
||||
CLOOP = -falign-loops=0
|
||||
CC = gcc
|
||||
@@ -58,13 +60,13 @@
|
||||
all: $(TODO)
|
||||
|
||||
listing.o: listing.c listing.h .system
|
||||
- $(CC) $(CFLAGS) $(CLOOP) -c $<
|
||||
+ $(CC) $(MY_CFLAGS) $(CLOOP) -c $<
|
||||
|
||||
insserv.o: insserv.c listing.h .system
|
||||
- $(CC) $(CFLAGS) $(CLOOP) -c $<
|
||||
+ $(CC) $(MY_CFLAGS) $(CLOOP) -c $<
|
||||
|
||||
insserv: insserv.o listing.o
|
||||
- $(CC) $(CFLAGS) -Wl,-O,3,--relax -o $@ $^
|
||||
+ $(CC) $(MY_CFLAGS) -Wl,-O,3,--relax -o $@ $^
|
||||
|
||||
ifeq ($(ISSUSE),-DSUSE)
|
||||
insserv.8: insserv.8.in .system
|
||||
@@ -86,10 +88,10 @@
|
||||
-include .depend.listing .depend.insserv
|
||||
|
||||
.depend.listing:
|
||||
- @$(CC) $(CFLAGS) -M listing.c >$@ 2>/dev/null
|
||||
+ @$(CC) $(MY_CFLAGS) -M listing.c >$@ 2>/dev/null
|
||||
|
||||
.depend.insserv:
|
||||
- @$(CC) $(CFLAGS) -M insserv.c >$@ 2>/dev/null
|
||||
+ @$(CC) $(MY_CFLAGS) -M insserv.c >$@ 2>/dev/null
|
||||
|
||||
install: $(TODO)
|
||||
$(MKDIR) $(SBINDIR)
|
||||
|
||||
Reference in New Issue
Block a user