Merge with 32bit work.
This commit is contained in:
commit
0a5d4f7fc7
12
Makefile
12
Makefile
|
@ -7,13 +7,13 @@ VMDK_IMAGE = $(HOSTNAME).vmdk
|
|||
XVA_IMAGE = $(HOSTNAME).xva
|
||||
LST_FILE = $(HOSTNAME)-packages.lst
|
||||
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.xz
|
||||
KERNEL_CONFIG = kernel.config
|
||||
VIRTIO = NO
|
||||
TIMEZONE = UTC
|
||||
DISK_SIZE = 6.0G
|
||||
SWAP_SIZE = 30
|
||||
SWAP_FILE = $(CHROOT)/.swap
|
||||
ARCH = amd64
|
||||
KERNEL_CONFIG = kernel.config.$(ARCH)
|
||||
MAKEOPTS = -j10 -l10
|
||||
PRUNE_CRITICAL = NO
|
||||
REMOVE_PORTAGE_TREE = YES
|
||||
|
@ -49,6 +49,10 @@ DOWNLOAD_DIR = .downloads
|
|||
-include $(profile).cfg
|
||||
|
||||
inroot := chroot $(CHROOT)
|
||||
ifeq ($(ARCH),x86)
|
||||
inroot := linux32 $(inroot)
|
||||
endif
|
||||
|
||||
stage4-exists := $(wildcard $(STAGE4_TARBALL))
|
||||
software-deps := stage3
|
||||
|
||||
|
@ -148,13 +152,13 @@ else
|
|||
endif
|
||||
touch stage3
|
||||
|
||||
compile_options: portage make.conf locale.gen $(PACKAGE_FILES)
|
||||
cp make.conf $(CHROOT)/etc/portage/make.conf
|
||||
compile_options: portage make.conf.$(ARCH) locale.gen $(PACKAGE_FILES)
|
||||
cp make.conf.$(ARCH) $(CHROOT)/etc/portage/make.conf
|
||||
ifdef PKGDIR
|
||||
echo PKGDIR="/var/portage/packages" >> $(CHROOT)/etc/portage/make.conf
|
||||
endif
|
||||
echo ACCEPT_KEYWORDS=$(ACCEPT_KEYWORDS) >> $(CHROOT)/etc/portage/make.conf
|
||||
[ -f "$(APPLIANCE)/make.conf" ] && cat "$(APPLIANCE)/make.conf" >> $(CHROOT)/etc/portage/make.conf
|
||||
-[ -f "$(APPLIANCE)/make.conf" ] && cat "$(APPLIANCE)/make.conf" >> $(CHROOT)/etc/portage/make.conf
|
||||
cp locale.gen $(CHROOT)/etc/locale.gen
|
||||
$(inroot) locale-gen
|
||||
mkdir -p $(CHROOT)/etc/portage
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,14 @@
|
|||
CFLAGS="-Os"
|
||||
CXXFLAGS="-Os"
|
||||
CHOST="i686-pc-linux-gnu"
|
||||
MAKEOPTS="-j2"
|
||||
USE="-* nptl pam unicode"
|
||||
ALSA_PCM_PLUGINS="*"
|
||||
CLEAN_DELAY="0"
|
||||
EMERGE_WARNING_DELAY="0"
|
||||
AUTO_CLEAN="yes"
|
||||
EPAUSE_IGNORE="1"
|
||||
EMERGE_DEFAULT_OPTS="--jobs=2 --autounmask=n"
|
||||
FEATURES="noinfo -test nodoc noman unmerge-orphans buildpkg notitles parallel-fetch"
|
||||
CURL_SSL="openssl"
|
||||
PYTHON_TARGETS="python2_7"
|
Loading…
Reference in New Issue