All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] 2.4.19-pre8-ac2 kbuild 2.4 tmp_include_depends
@ 2002-05-12  2:11 Keith Owens
  2002-05-12  9:04 ` Axel H. Siebenwirth
  2002-05-13  2:10 ` khromy
  0 siblings, 2 replies; 10+ messages in thread
From: Keith Owens @ 2002-05-12  2:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

make clean dep works, make dep clean deletes the .tmp file created by
make dep and complains 'no rule to make .tmp_include_depends'.  Change
the filenames to avoid make clean and add them to mrproper.

diff -urN 2.4.19-pre8-ac2/Makefile 2.4.19-pre8-ac2-test/Makefile
--- 2.4.19-pre8-ac2/Makefile	Sun May 12 11:24:45 2002
+++ 2.4.19-pre8-ac2-test/Makefile	Sun May 12 12:00:26 2002
@@ -226,6 +226,7 @@
 # files removed with 'make mrproper'
 MRPROPER_FILES = \
 	include/linux/autoconf.h include/linux/version.h \
+	tmp* \
 	drivers/net/hamradio/soundmodem/sm_tbl_{afsk1200,afsk2666,fsk9600}.h \
 	drivers/net/hamradio/soundmodem/sm_tbl_{hapn4800,psk4800}.h \
 	drivers/net/hamradio/soundmodem/sm_tbl_{afsk2400_7,afsk2400_8}.h \
@@ -353,13 +354,13 @@
 
 comma	:= ,
 
-init/version.o: init/version.c include/linux/compile.h .tmp_include_depends
+init/version.o: init/version.c include/linux/compile.h tmp_include_depends
 	$(CC) $(CFLAGS) $(CFLAGS_KERNEL) -DUTS_MACHINE='"$(ARCH)"' -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -c -o init/version.o init/version.c
 
-init/main.o: init/main.c .tmp_include_depends
+init/main.o: init/main.c tmp_include_depends
 	$(CC) $(CFLAGS) $(CFLAGS_KERNEL) $(PROFILING) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -c -o $*.o $<
 
-init/do_mounts.o: init/do_mounts.c .tmp_include_depends
+init/do_mounts.o: init/do_mounts.c tmp_include_depends
 	$(CC) $(CFLAGS) $(CFLAGS_KERNEL) $(PROFILING) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -c -o $*.o $<
 
 fs lib mm ipc kernel drivers net: dummy
@@ -386,7 +387,7 @@
 modules: $(patsubst %, _mod_%, $(SUBDIRS))
 
 .PHONY: $(patsubst %, _mod_%, $(SUBDIRS))
-$(patsubst %, _mod_%, $(SUBDIRS)) : include/linux/version.h .tmp_include_depends
+$(patsubst %, _mod_%, $(SUBDIRS)) : include/linux/version.h tmp_include_depends
 	$(MAKE) -C $(patsubst _mod_%, %, $@) CFLAGS="$(CFLAGS) $(MODFLAGS)" MAKING_MODULES=1 modules
 
 .PHONY: modules_install
@@ -491,13 +492,13 @@
 ifdef CONFIG_MODVERSIONS
 	$(MAKE) update-modverfile
 endif
-	(find $(TOPDIR) \( -name .depend -o -name .hdepend \) -print | xargs $(AWK) -f scripts/include_deps) > .tmp_include_depends
-	sed -ne 's/^\([^ ].*\):.*/  \1 \\/p' .tmp_include_depends > .tmp_include_depends_1
-	(echo ""; echo "all: \\"; cat .tmp_include_depends_1; echo "") >> .tmp_include_depends
-	rm .tmp_include_depends_1
+	(find $(TOPDIR) \( -name .depend -o -name .hdepend \) -print | xargs $(AWK) -f scripts/include_deps) > tmp_include_depends
+	sed -ne 's/^\([^ ].*\):.*/  \1 \\/p' tmp_include_depends > tmp_include_depends_1
+	(echo ""; echo "all: \\"; cat tmp_include_depends_1; echo "") >> tmp_include_depends
+	rm tmp_include_depends_1
 
-.tmp_include_depends: include/config/MARKER dummy
-	$(MAKE) -r -f .tmp_include_depends all
+tmp_include_depends: include/config/MARKER dummy
+	$(MAKE) -r -f tmp_include_depends all
 
 ifdef CONFIG_MODVERSIONS
 MODVERFILE := $(TOPDIR)/include/linux/modversions.h


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [patch] 2.4.19-pre8-ac2 kbuild 2.4 tmp_include_depends
@ 2002-05-12 11:31 Hugh
  2002-05-12 11:50 ` Keith Owens
  0 siblings, 1 reply; 10+ messages in thread
From: Hugh @ 2002-05-12 11:31 UTC (permalink / raw)
  To: linux-kernel

I am definitely a newbie as far as patch file handling is concerned.

I took the patch portion starting from

diff -ur 2.4.19-pre8-ac2/Makefile 2.4.19-pre8-ac2-test/Makefile

and ending with

MODVERFILE := $(TOPDIR)/include/linux/modversions.h

which is the last line,
and made it a file named Keith.patch.  Then, I went to /usr/src/linux
and issued

patch -p1 < Keith.patch

Well.... That did not work.  WHat did I do wrong?

Thanks a lot.

G. Hugh SOng


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-05-13  2:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-12  2:11 [patch] 2.4.19-pre8-ac2 kbuild 2.4 tmp_include_depends Keith Owens
2002-05-12  9:04 ` Axel H. Siebenwirth
2002-05-12 10:11   ` Keith Owens
2002-05-12 10:39     ` Tomas Szepe
2002-05-12 12:22       ` Keith Owens
2002-05-12 12:54         ` Tomas Szepe
2002-05-13  2:10 ` khromy
2002-05-13  2:13   ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2002-05-12 11:31 Hugh
2002-05-12 11:50 ` Keith Owens

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.