Actually enable 32bit builds.
This only works with paravirt so far. Need to create a kernel .config for x86.
This commit is contained in:
parent
d2eb7124a7
commit
63bd1bdad8
8
Makefile
8
Makefile
|
@ -49,6 +49,10 @@ DOWNLOAD_DIR = .downloads
|
||||||
-include $(profile).cfg
|
-include $(profile).cfg
|
||||||
|
|
||||||
inroot := chroot $(CHROOT)
|
inroot := chroot $(CHROOT)
|
||||||
|
ifeq ($(ARCH),x86)
|
||||||
|
inroot := linux32 $(inroot)
|
||||||
|
endif
|
||||||
|
|
||||||
stage4-exists := $(wildcard $(STAGE4_TARBALL))
|
stage4-exists := $(wildcard $(STAGE4_TARBALL))
|
||||||
software-deps := stage3
|
software-deps := stage3
|
||||||
|
|
||||||
|
@ -148,8 +152,8 @@ else
|
||||||
endif
|
endif
|
||||||
touch stage3
|
touch stage3
|
||||||
|
|
||||||
compile_options: portage make.conf locale.gen $(PACKAGE_FILES)
|
compile_options: portage make.conf.$(ARCH) locale.gen $(PACKAGE_FILES)
|
||||||
cp make.conf $(CHROOT)/etc/portage/make.conf
|
cp make.conf.$(ARCH) $(CHROOT)/etc/portage/make.conf
|
||||||
ifdef PKGDIR
|
ifdef PKGDIR
|
||||||
echo PKGDIR="/var/portage/packages" >> $(CHROOT)/etc/portage/make.conf
|
echo PKGDIR="/var/portage/packages" >> $(CHROOT)/etc/portage/make.conf
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -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