]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] uml: update makefile to new kbuild API names
authorPaolo \'Blaisorblade\' Giarrusso <blaisorblade_spam@yahoo.it>
Wed, 13 Oct 2004 14:30:34 +0000 (07:30 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 13 Oct 2004 14:30:34 +0000 (07:30 -0700)
Drop the usage of check_gcc and host-progs, and use their new names.  A
must-have :-).

Oh, and it will create lots of serious problems - it will give me your root
account!  Yes, you don't see the code in the patch, but it happens!  :-)))

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Makefile
arch/um/kernel/skas/util/Makefile

index 2cc4346220ff4940c24e389f62720e1794b034d7..165a3828e263bcbc63462ac8da822133f542c816 100644 (file)
@@ -46,7 +46,7 @@ CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \
        -D_LARGEFILE64_SOURCE $(ARCH_INCLUDE) -Derrno=kernel_errno \
        -Dsigprocmask=kernel_sigprocmask $(MODE_INCLUDE)
 
-CFLAGS += $(call check_gcc,-fno-unit-at-a-time,)
+CFLAGS += $(call cc-option,-fno-unit-at-a-time,)
 
 LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
 
index 4b8aa7f8b3e3db8e3487523b957e2e6de0c2c099..a26e0c34a762bdcf629eb5401821fcc815de625e 100644 (file)
@@ -1,2 +1,2 @@
-host-progs             := mk_ptregs
-always                 := $(host-progs)
+hostprogs-y            := mk_ptregs
+always                 := $(hostprogs-y)