pkgsrc-wip/linux24-kernel/patches/patch-aa
Martti Kuparinen 52eda89260 The Linux kernel is the core part of the Linux-based operating system.
It is a Unix clone and aims to comply with Single UNIX Specification
and POSIX.  Linux was written from scratch by Linux Torvalds and
developed by many programmers around the world.
2004-01-29 07:32:04 +00:00

23 lines
686 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2004/01/29 07:32:04 marttikuparinen Exp $
--- Makefile.orig 2004-01-05 15:53:56.000000000 +0200
+++ Makefile 2004-01-28 11:11:01.000000000 +0200
@@ -18,4 +18,4 @@
-HOSTCC = gcc
-HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCC = $(CC)
+HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I$(TOPDIR)/include
@@ -29,3 +29,3 @@
LD = $(CROSS_COMPILE)ld
-CC = $(CROSS_COMPILE)gcc
+#CC = $(CROSS_COMPILE)gcc
CPP = $(CC) -E
@@ -37,4 +37,4 @@
MAKEFILES = $(TOPDIR)/.config
-GENKSYMS = /sbin/genksyms
-DEPMOD = /sbin/depmod
+GENKSYMS = $(PREFIX)/sbin/genksyms
+DEPMOD = $(PREFIX)/sbin/depmod
MODFLAGS = -DMODULE