Coder Social home page Coder Social logo

Comments (4)

gctucker avatar gctucker commented on July 26, 2024

Actually, merge_config.sh does check each config after merging. What it doesn't is propagate the error when there's a problem, but there's already a fix for that from you ;)

Here's an example output of when it fails to set CPU_BIG_ENDIAN:

Using build/.config as base
Merging build/frag.config
Value of CONFIG_CPU_BIG_ENDIAN is redefined by fragment build/frag.config:
Previous value: # CONFIG_CPU_BIG_ENDIAN is not set
New value: CONFIG_CPU_BIG_ENDIAN=y

make[1]: Entering directory '/home/buildslave/staging/workspace/gtucker/kernel-build/linux/build'
  HOSTCC  scripts/basic/fixdep
  GEN     Makefile
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --alldefconfig Kconfig
scripts/Kconfig.include:35: compiler 'aarch64-linux-gnu-gcc' not found
make[2]: *** [../scripts/kconfig/Makefile:73: alldefconfig] Error 1
make[1]: *** [/home/buildslave/staging/workspace/gtucker/kernel-build/linux/Makefile:562: alldefconfig] Error 2
make[1]: Leaving directory '/home/buildslave/staging/workspace/gtucker/kernel-build/linux/build'
make: *** [Makefile:179: sub-make] Error 2
Value requested for CONFIG_CPU_BIG_ENDIAN not in final .config
Requested value:  CONFIG_CPU_BIG_ENDIAN=y
Actual value:     # CONFIG_CPU_BIG_ENDIAN is not set

from kernelci-core.

broonie avatar broonie commented on July 26, 2024

Right, I'm aware that it complains but thought that this was a warning not an error. I see it is an error now but I suspect that's going to get changed for usability, we might get an option to turn it back into an error though.

from kernelci-core.

gctucker avatar gctucker commented on July 26, 2024

OK - in any case doing the check in merge_config.sh is what makes most sense to me, rather than in kci_build or some other tool outside of the kernel tree.

from kernelci-core.

gctucker avatar gctucker commented on July 26, 2024

Replaced with an issue in my kernel fork.

from kernelci-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.