Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building for x86_64? #1

Open
Slydder opened this issue Sep 7, 2021 · 2 comments
Open

building for x86_64? #1

Slydder opened this issue Sep 7, 2021 · 2 comments

Comments

@Slydder
Copy link

Slydder commented Sep 7, 2021

if I follow the guide I only get i386_pentium4 support. I need x86_64 though.

I modify the config as follows:
.config
35 │ CONFIG_TARGET_ARCH_PACKAGES="x86_64"
36 │ CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -march=x86-64"
37 │ CONFIG_CPU_TYPE="generic"

and Config-build.in
37 │ config TARGET_ARCH_PACKAGES
38 │ string
39 │ default "x86_64"
40 │
41 │ config DEFAULT_TARGET_OPTIMIZATION
42 │ string
43 │ default "-Os -pipe -march=x86-64"
44 │
45 │ config CPU_TYPE
46 │ string
47 │ default "generic"

and it dies. Any ideas?

@stargieg
Copy link

It works for me
openwrt-sdk-19.07.8-x86-64_gcc-7.5.0_musl.Linux-x86_64.tar.xz

echo "src-git packages_icinga2 https://github.com/krzys-h/openwrt-icinga2.git" >> feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
echo "" > .config
echo "# CONFIG_ALL_NONSHARED is not set" >> .config
echo "# CONFIG_ALL_KMODS is not set" >> .config
echo "# CONFIG_ALL is not set" >> .config
echo "# CONFIG_SIGNED_PACKAGES is not set" >> .config
echo "CONFIG_CCACHE=y" >> .config
echo "CONFIG_AUTOREBUILD=n" >> .config
echo "CONFIG_AUTOREMOVE=n" >> .config
echo "CONFIG_PACKAGE_boost=m" >> .config
echo "CONFIG_PACKAGE_icinga2=m" >> .config
make package/feeds/packages/boost/compile
make package/feeds/packages_icinga2/icinga2/compile
make package/index

@stargieg
Copy link

stargieg commented Oct 12, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants