리눅스 커널 이미지 생성시에 대한 질문입니다.(bbootsect or bs

yasoo의 이미지

주 $(arch)/MAKEFILE 을 먼저조금 긁어와서 ^^

Quote:

:
zImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build
$(OBJCOPY) compressed/vmlinux compressed/vmlinux.out
tools/build bootsect setup compressed/vmlinux.out $(ROOT_DEV) > zImage

bzImage: $(CONFIGURE) bbootsect bsetup compressed/bvmlinux tools/build
$(OBJCOPY) compressed/bvmlinux compressed/bvmlinux.out
tools/build -b bbootsect bsetup compressed/bvmlinux.out $(ROOT_DEV) > bzImage

compressed/vmlinux: $(TOPDIR)/vmlinux
@$(MAKE) -C compressed vmlinux

compressed/bvmlinux: $(TOPDIR)/vmlinux
@$(MAKE) -C compressed bvmlinux
:
:
tools/build: tools/build.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $< -I$(TOPDIR)/include
:
:
bsetup: bsetup.o
$(LD86) -s -o $@ $<

bsetup.o: bsetup.s
$(AS86) -o $@ $<

bsetup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h $(TOPDIR)/include/linux/compile.h
:
:
:
bbootsect: bbootsect.o
$(LD86) -s -o $@ $<

bbootsect.o: bbootsect.s
$(AS86) -o $@ $<

bbootsect.s: bootsect.S Makefile $(BOOT_INCL)
$(CPP) -D__BIG_KERNEL__ -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@
:
:

여기서 -D__BIG_KERNEL__ 이라는 옵션이 들어갑니다.

bootsect or setup 파일외에 앞에 b가 하나 더 붙는
bbootsect or bsetup 를 만들때 사용하는 옵션이라고
설명이 나왔습니다. 하지만 앞에 b 가 붙는거랑 안붙는거랑 차이점을 모르겠어요

그 차이점과 '-D__BIG_KERNEL__' 이 옵션이 가지는 의미를 알고싶어요~ >.<;

whitelfs의 이미지

..