ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

linux.mk (363B)


      1 # make deps: bash, bc, perl
      2 TARG = linux bzImage.config
      3 INSTALL_OTHER1 = arch/x86/boot/bzImage bzImage.config System.map
      4 INSTALL_OTHER1_DIR = /boot
      5 
      6 <$mkbuild/mk.common
      7 
      8 bzImage.config:Q:
      9 	cp .config bzImage.config
     10 
     11 linux:Q:
     12 	cp ../kernel-config-$arch .config
     13 	case "$arch" in
     14 	x86_64)
     15 		A=x86_64
     16 		;;
     17 	i486)
     18 		A=x86
     19 		;;
     20 	esac
     21 	make ARCH="$A" bzImage -j$nprocs
     22