Various cleanups. Maked python3. Added -pipe back go CFLAGS.
This commit is contained in:
parent
ac0dd5fe39
commit
ea8ef5b795
8
Makefile
8
Makefile
|
@ -90,7 +90,10 @@ compile_options: make.conf locale.gen $(PACKAGE_FILES)
|
|||
base_system: mounts compile_options
|
||||
touch base_system
|
||||
|
||||
kernel: base_system kernel.config
|
||||
kernel: $(CHROOT)/boot/vmlinuz
|
||||
|
||||
|
||||
$(CHROOT)/boot/vmlinuz: base_system kernel.config
|
||||
chroot $(CHROOT) cp /usr/share/zoneinfo/GMT /etc/localtime
|
||||
chroot $(CHROOT) emerge -N sys-kernel/$(KERNEL)
|
||||
cp kernel.config $(CHROOT)/usr/src/linux/.config
|
||||
|
@ -102,7 +105,6 @@ kernel: base_system kernel.config
|
|||
cd $(CHROOT)/boot ; \
|
||||
k=`/bin/ls -1 --sort=time vmlinuz-*|head -n 1` ; \
|
||||
ln -nsf $$k vmlinuz
|
||||
touch kernel
|
||||
|
||||
sysconfig: preproot fstab
|
||||
cp fstab $(CHROOT)/etc/fstab
|
||||
|
@ -190,7 +192,7 @@ $(VMDK_IMAGE): $(RAW_IMAGE) image
|
|||
|
||||
vmdk: $(VMDK_IMAGE)
|
||||
|
||||
.PHONY: qcow vmdk clean
|
||||
.PHONY: kernel qcow vmdk clean
|
||||
|
||||
clean:
|
||||
umount $(CHROOT)/usr/portage $(CHROOT)/var/tmp $(CHROOT)/dev $(CHROOT)/proc || true
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
>=dev-lang/python-3.0
|
|
@ -0,0 +1 @@
|
|||
../base/package.mask
|
|
@ -0,0 +1 @@
|
|||
../base/package.mask
|
|
@ -1,4 +1,4 @@
|
|||
CFLAGS="-O2"
|
||||
CFLAGS="-O2 -pipe"
|
||||
CXXFLAGS="-O2 -pipe"
|
||||
CHOST="x86_64-pc-linux-gnu"
|
||||
MAKEOPTS="-j2"
|
||||
|
@ -6,5 +6,5 @@ USE="-* nptl pam unicode"
|
|||
CLEAN_DELAY="0"
|
||||
AUTO_CLEAN="yes"
|
||||
EPAUSE_IGNORE="1"
|
||||
EMERGE_DEFAULT_OPTS="--jobs --load-average=9.0"
|
||||
EMERGE_DEFAULT_OPTS="--jobs=4"
|
||||
FEATURES="noinfo -test nodoc noman unmerge-orphans buildpkg"
|
||||
|
|
Loading…
Reference in New Issue