kernel.hack

--- arch/x86/Makefile.orig 	2010-05-02 12:24:38.000000000 -0400
+++ arch/x86/Makefile	2010-05-02 12:27:01.000000000 -0400
@@ -155,18 +155,19 @@
 LDFLAGS_vmlinux := -e startup_64
 endif

-# Default kernel to build -all: vmlinuz +endif +## Default kernel to build +#all: vmlinuz
-# KBUILD_IMAGE specifies the target image being built -KBUILD_IMAGE := $(boot)/vmlinuz +## KBUILD_IMAGE specifies the target image being built +#KBUILD_IMAGE := $(boot)/vmlinuz
-vmlinuz: vmlinux - $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) - $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot - $(Q)ln -fsn ../../x86/boot/$@ $(objtree)/arch/$(UTS_MACHINE)/boot/$@ -else -# Default kernel to build +#vmlinuz: vmlinux +# $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) +# $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot +# $(Q)ln -fsn ../../x86/boot/$@ $(objtree)/arch/$(UTS_MACHINE)/boot/$@ +#else +## Default kernel to build all: bzImage
# KBUILD_IMAGE specify target image being built @@ -176,7 +177,7 @@ $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@ -endif +#endif $(BOOT_TARGETS): vmlinux $(Q)$(MAKE) $(build)=$(boot) $@

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: