All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Øyvind Repvik" <nail@nslu2-linux.org>
To: Using the OpenEmbedded metadata to build Linux Distributions
	<openembedded-devel@lists.openembedded.org>
Subject: Re: DVB scan utility
Date: Mon, 04 Sep 2006 20:16:54 +0200	[thread overview]
Message-ID: <44FC6D96.5030201@nslu2-linux.org> (raw)
In-Reply-To: <5144EF5B0ABC6745BEE64C74E43ABD8F11A0D8@moneypenny.softoption.local>

[-- Attachment #1: Type: text/plain, Size: 5821 bytes --]

Mark Howells wrote:
> Hi,
>
> Can anyone point me toward an OE port (ideally OpenSlug/Slugos binary) of the linuxtv dvb 'scan' utility from HYPERLINK "http://www.linuxtv.org/downloads/linuxtv-dvb-apps-1.1.1.tar.gz"http://www.linuxtv.org/downloads/linuxtv-dvb-apps-1.1.1.tar.gz. I've tried creating a bb file to compile it, but the Makefile is old and seems only capable of compiling natively. I don't have a native compiler on my slug - I guess I could install it, but if anyone has a built binary or suitable BB/Make system it would help.

The reason it compiles native binaries is simply that the Makefile 
defines $CC as 'gcc'.

Applying the included diff should help the Makefile work as it was 
intended to do

Regards,
Øyvind Repvik
SlugOS package manager
diff -ur linuxtv-dvb-apps-1.1.1.orig/test/Makefile linuxtv-dvb-apps-1.1.1/test/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/test/Makefile	2004-01-17 17:59:46.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/test/Makefile	2006-09-04 20:08:23.000000000 +0200
@@ -1,6 +1,6 @@
 # Makefile for Linux DVB API Version 3 test programs
 
-CC = gcc
+#CC = gcc
 CFLAGS = -g -O2 -W -Wall -I../include
 
 TARGETS = \
Only in linuxtv-dvb-apps-1.1.1/test: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/av7110_loadkeys/Makefile linuxtv-dvb-apps-1.1.1/util/av7110_loadkeys/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/av7110_loadkeys/Makefile	2004-01-17 17:59:46.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/util/av7110_loadkeys/Makefile	2006-09-04 20:09:16.000000000 +0200
@@ -1,4 +1,4 @@
-CC = gcc
+#CC = gcc
 CFLAGS = -g -Wall -O2
 
 all: av7110_loadkeys evtest
Only in linuxtv-dvb-apps-1.1.1/util/av7110_loadkeys: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/dvbdate/Makefile linuxtv-dvb-apps-1.1.1/util/dvbdate/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/dvbdate/Makefile	2004-01-17 17:59:46.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/util/dvbdate/Makefile	2006-09-04 20:10:05.000000000 +0200
@@ -1,11 +1,11 @@
 
-CC      = gcc
-CFLAGS  = -g -O2 -MD -Wall -I. -I../../include
+#CC      = gcc
+#CFLAGS  = -g -O2 -MD -Wall -I. -I../../include
 LFLAGS  =
 
 OBJS    = dvbdate.o
 TARGET  = dvbdate
-DESTDIR = /usr/local/bin/
+#DESTDIR = /usr/local/bin/
 
 all: $(TARGET)
 
@@ -15,8 +15,8 @@
 $(TARGET): $(OBJS)
 	$(CC) -o $@ $(OBJS) $(LFLAGS)
 
-install: all
-	install -m 755 $(TARGET) $(DESTDIR) 
+#install: all
+#	install -m 755 $(TARGET) $(DESTDIR) 
 
 clean:
 	rm -f $(TARGET) $(OBJS) core* *~ *.d
Only in linuxtv-dvb-apps-1.1.1/util/dvbdate: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/dvbnet/Makefile linuxtv-dvb-apps-1.1.1/util/dvbnet/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/dvbnet/Makefile	2004-01-17 17:59:46.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/util/dvbnet/Makefile	2006-09-04 20:10:30.000000000 +0200
@@ -1,11 +1,11 @@
 
-CC      = gcc
+#CC      = gcc
 CFLAGS  = -g -O2 -MD -Wall -I. -I../../include
 LFLAGS  =
 
 OBJS    = dvbnet.o
 TARGET  = dvbnet
-DESTDIR = /usr/local/bin/
+#DESTDIR = /usr/local/bin/
 
 all: version.h $(TARGET)
 
@@ -19,8 +19,8 @@
 	printf '#define VERSION_INFO "%s (Build %s)"\n' \
 		"`cat $@.in`" "`date +'%a %b %d %X %Y'`" > $@
 
-install: all
-	install -m 755 $(TARGET) $(DESTDIR) 
+#install: all
+#	install -m 755 $(TARGET) $(DESTDIR) 
 
 clean:
 	rm -f $(TARGET) $(OBJS) version.h core* *~ *.d
Only in linuxtv-dvb-apps-1.1.1/util/dvbnet: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/dvbtraffic/Makefile linuxtv-dvb-apps-1.1.1/util/dvbtraffic/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/dvbtraffic/Makefile	2004-01-19 18:10:16.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/util/dvbtraffic/Makefile	2006-09-04 20:10:52.000000000 +0200
@@ -1,6 +1,6 @@
 
 dvbtraffic: dvbtraffic.c
-	gcc -MD -g -O2 -Wall -I../../include $< -o $@
+	$CC -MD -g -O2 -Wall -I../../include $< -o $@
 
 clean:
 	rm -f *.o *.d dvbtraffic
Only in linuxtv-dvb-apps-1.1.1/util/dvbtraffic: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/lib/Makefile linuxtv-dvb-apps-1.1.1/util/lib/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/lib/Makefile	2004-01-17 17:59:46.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/util/lib/Makefile	2006-09-04 20:11:07.000000000 +0200
@@ -1,5 +1,5 @@
 
-CC = gcc
+#CC = gcc
 CFLAGS = -MD -g -Wall -O2 -I../../include -I.
 LFLAGS = -g -Wall
 
Only in linuxtv-dvb-apps-1.1.1/util/lib: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/scan/Makefile linuxtv-dvb-apps-1.1.1/util/scan/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/scan/Makefile	2006-05-18 01:34:53.000000000 +0200
+++ linuxtv-dvb-apps-1.1.1/util/scan/Makefile	2006-09-04 20:11:22.000000000 +0200
@@ -1,5 +1,5 @@
 
-CC = gcc
+#CC = gcc
 CFLAGS = -MD -g -Wall -O2 -I../../include
 LFLAGS = -g -Wall
 
Only in linuxtv-dvb-apps-1.1.1/util/scan: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/szap/Makefile linuxtv-dvb-apps-1.1.1/util/szap/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/szap/Makefile	2006-05-18 01:31:54.000000000 +0200
+++ linuxtv-dvb-apps-1.1.1/util/szap/Makefile	2006-09-04 20:11:51.000000000 +0200
@@ -1,4 +1,4 @@
-CC = gcc
+#CC = gcc
 CFLAGS = -MD -Wall -g -O2 -I../../include -I../lib
 LFLAGS = -Wall -g -O2
 RM = rm -f
Only in linuxtv-dvb-apps-1.1.1/util/szap: Makefile.orig
diff -ur linuxtv-dvb-apps-1.1.1.orig/util/ttusb_dec_reset/Makefile linuxtv-dvb-apps-1.1.1/util/ttusb_dec_reset/Makefile
--- linuxtv-dvb-apps-1.1.1.orig/util/ttusb_dec_reset/Makefile	2004-01-21 23:13:45.000000000 +0100
+++ linuxtv-dvb-apps-1.1.1/util/ttusb_dec_reset/Makefile	2006-09-04 20:12:10.000000000 +0200
@@ -1,4 +1,4 @@
-CC	= gcc
+#CC	= gcc
 RM	= rm -f
 CFLAGS	= -g -Wall -O2
 LFLAGS	= -g -Wall
Only in linuxtv-dvb-apps-1.1.1/util/ttusb_dec_reset: Makefile.orig

  reply	other threads:[~2006-09-04 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 17:37 DVB scan utility Mark Howells
2006-09-04 18:16 ` Øyvind Repvik [this message]
2006-09-04 20:56   ` Paul Sokolovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44FC6D96.5030201@nslu2-linux.org \
    --to=nail@nslu2-linux.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.