Makefile (4ba7e5cd499a72983e6d011e76c1d8fad896d310) Makefile (37f30e21d6be046e948fce1dfa4a968cf5abcf89)
1# Unified Makefile for i386 and x86_64
2
3# select defconfig based on actual architecture
4ifeq ($(ARCH),x86)
5 KBUILD_DEFCONFIG := i386_defconfig
6else
7 KBUILD_DEFCONFIG := $(ARCH)_defconfig
8endif

--- 220 unchanged lines hidden (view full) ---

229 $(Q)$(MAKE) $(build)=arch/x86/vdso $@
230
231archclean:
232 $(Q)rm -rf $(objtree)/arch/i386
233 $(Q)rm -rf $(objtree)/arch/x86_64
234 $(Q)$(MAKE) $(clean)=$(boot)
235
236define archhelp
1# Unified Makefile for i386 and x86_64
2
3# select defconfig based on actual architecture
4ifeq ($(ARCH),x86)
5 KBUILD_DEFCONFIG := i386_defconfig
6else
7 KBUILD_DEFCONFIG := $(ARCH)_defconfig
8endif

--- 220 unchanged lines hidden (view full) ---

229 $(Q)$(MAKE) $(build)=arch/x86/vdso $@
230
231archclean:
232 $(Q)rm -rf $(objtree)/arch/i386
233 $(Q)rm -rf $(objtree)/arch/x86_64
234 $(Q)$(MAKE) $(clean)=$(boot)
235
236define archhelp
237 echo '* bzImage - Compressed kernel image (arch/x86/boot/bzImage)'
238 echo ' install - Install kernel using'
239 echo ' (your) ~/bin/installkernel or'
240 echo ' (distribution) /sbin/installkernel or'
241 echo ' install to $$(INSTALL_PATH) and run lilo'
242 echo ' bzdisk - Create a boot floppy in /dev/fd0'
243 echo ' fdimage - Create a boot floppy image'
244 echo ' isoimage - Create a boot CD-ROM image'
237 echo '* bzImage - Compressed kernel image (arch/x86/boot/bzImage)'
238 echo ' install - Install kernel using'
239 echo ' (your) ~/bin/installkernel or'
240 echo ' (distribution) /sbin/installkernel or'
241 echo ' install to $$(INSTALL_PATH) and run lilo'
242 echo ' fdimage - Create 1.4MB boot floppy image (arch/x86/boot/fdimage)'
243 echo ' fdimage144 - Create 1.4MB boot floppy image (arch/x86/boot/fdimage)'
244 echo ' fdimage288 - Create 2.8MB boot floppy image (arch/x86/boot/fdimage)'
245 echo ' isoimage - Create a boot CD-ROM image (arch/x86/boot/image.iso)'
246 echo ' bzdisk/fdimage*/isoimage also accept:'
247 echo ' FDARGS="..." arguments for the booted kernel'
248 echo ' FDINITRD=file initrd for the booted kernel'
245endef
246
247CLEAN_FILES += arch/x86/boot/fdimage \
248 arch/x86/boot/image.iso \
249 arch/x86/boot/mtools.conf
249endef
250
251CLEAN_FILES += arch/x86/boot/fdimage \
252 arch/x86/boot/image.iso \
253 arch/x86/boot/mtools.conf