Compile blocked by interactive questions

Hi,

I am unable to compile openwrt for nanopi R2S using all my cpu core, because of some user interactive part.
Usualy i do:

time make V=s VERBOSE=1 -j$(nproc) JOBS=$(nproc) 2>&1 | tee build.log | grep -i -E "^make.*(error|[12345]...Entering dir)"

but now i use:

time make -j$(nproc) download V=s

how to auto respond default value? (like apt-get install -y, to answer yes)
And how to preselect a value?

here an example of what is asking:

*
* ARM64 Accelerated Cryptographic Algorithms
*
ARM64 Accelerated Cryptographic Algorithms (ARM64_CRYPTO) [Y/?] y
  SHA-224/SHA-256 digest algorithm for arm64 (CRYPTO_SHA256_ARM64) [N/m/y/?] (NEW)
  SHA-384/SHA-512 digest algorithm for arm64 (CRYPTO_SHA512_ARM64) [N/m/y/?] (NEW)
  SHA-1 digest algorithm (ARMv8 Crypto Extensions) (CRYPTO_SHA1_ARM64_CE) [N/m/y/?] (NEW)
  SHA-224/SHA-256 digest algorithm (ARMv8 Crypto Extensions) (CRYPTO_SHA2_ARM64_CE) [N/m/y/?] (NEW)
  SHA-384/SHA-512 digest algorithm (ARMv8 Crypto Extensions) (CRYPTO_SHA512_ARM64_CE) [N/m/y/?] (NEW)
  SHA3 digest algorithm (ARMv8.2 Crypto Extensions) (CRYPTO_SHA3_ARM64) [N/m/y/?] (NEW)
  SM3 digest algorithm (ARMv8.2 Crypto Extensions) (CRYPTO_SM3_ARM64_CE) [N/m/y/?] (NEW)
  SM4 symmetric cipher (ARMv8.2 Crypto Extensions) (CRYPTO_SM4_ARM64_CE) [N/m/y/?] (NEW)
  GHASH/AES-GCM using ARMv8 Crypto Extensions (CRYPTO_GHASH_ARM64_CE) [N/m/y/?] (NEW)
  CRCT10DIF digest algorithm using PMULL instructions (CRYPTO_CRCT10DIF_ARM64_CE) [N/m/y/
*
Miscellaneous devices (INPUT_MISC) [Y/n/?] y
  Analog Devices AD714x Capacitance Touch Sensor (INPUT_AD714X) [N/m/y/?] n
  Atmel Capacitive Touch Button Driver (INPUT_ATMEL_CAPTOUCH) [N/m/y/?] n
  BMA150/SMB380 acceleration sensor support (INPUT_BMA150) [N/m/y/?] n
  NI Ettus Research USRP E3xx Button support. (INPUT_E3X0_BUTTON) [N/m/y/?] n
  Qualcomm MSM vibrator driver (INPUT_MSM_VIBRATOR) [N/m/y/?] n
  MMA8450 - Freescale's 3-Axis, 8/12-bit Digital Accelerometer (INPUT_MMA8450) [N/m/y/?] n
  Sharp GP2AP002A00F I2C Proximity/Opto sensor driver (INPUT_GP2A) [N/m/y/?] n
  Generic GPIO Beeper support (INPUT_GPIO_BEEPER) [M/n/y/?] m
  Polled GPIO Decoder Input driver (INPUT_GPIO_DECODER) [N/m/y/?] n
  GPIO vibrator support (INPUT_GPIO_VIBRA) [N/m/y/?] n
  ATI / Philips USB RF remote control (INPUT_ATI_REMOTE2) [N/m/y/?] n
  Keyspan DMR USB remote control (INPUT_KEYSPAN_REMOTE) [N/m/y/?] n
  Kionix KXTJ9 tri-axis digital accelerometer (INPUT_KXTJ9) [N/m/y/?] n
VGA Arbitration (VGA_ARB) [N/y/?] n
Enable DisplayPort CEC-Tunneling-over-AUX HDMI support (DRM_DP_CEC) [N/y/?] n
ATI Radeon (DRM_RADEON) [N/m/?] n
AMD GPU (DRM_AMDGPU) [N/m/?] n
Nouveau (NVIDIA) cards (DRM_NOUVEAU) [N/m/?] n
Virtual GEM provider (DRM_VGEM) [N/m/?] n
Virtual KMS (EXPERIMENTAL) (DRM_VKMS) [N/m/?] n
DRM Support for Rockchip (DRM_ROCKCHIP) [N/m/?] (NEW)
DisplayLink (DRM_UDL) [N/m/?] n
AST server chips (DRM_AST) [N/m/?] n
Kernel modesetting driver for MGA G200 server engines (DR
* ALSA for SoC audio support
*
ALSA for SoC audio support (SND_SOC) [M/n/?] m
  AMD Audio Coprocessor support (SND_SOC_AMD_ACP) [N/m/?] n
  SoC Audio for the Atmel System-on-Chip (SND_ATMEL_SOC) [N/m/?] n
  Synopsys I2S Device Driver (SND_DESIGNWARE_I2S) [N/m/?] n
  Hisilicon I2S controller (SND_I2S_HI6210_I2S) [N/m/?] n
  Audio support for Imagination Technologies designs (SND_SOC_IMG) [N/y/?] n
  ALSA BT SCO CVSD/MSBC Driver (SND_SOC_MTK_BTCVSD) [N/m/?] n
  ASoC support for Rockchip (SND_SOC_ROCKCHIP) [N/m/?] (NEW)
*
Analog Devices AD7124 and similar sigma-delta ADCs driver (AD7124) [N/m/?] n
Analog Devices AD7265/AD7266 ADC driver (AD7266) [N/m/?] n
Analog Devices AD7291 ADC driver (AD7291) [N/m/?] n
Analog Devices AD7298 ADC driver (AD7298) [N/m/?] n
Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI (AD7476) [N/m/?] n
Analog Devices AD7606 ADC driver with parallel interface support (AD7606_IFACE_PARALLEL) [N/m/?] n
Analog Devices AD7606 ADC driver with spi interface support (AD7606_IFACE_SPI) [N/m/?] n
Analog Devices AD7766/AD7767 ADC driver (AD7766) [N/m/?] n
Analog Devices AD7768-1 ADC driver (AD7768_1) [N/m/?] n
Analog Devices AD7780 and similar ADCs driver (AD7780) [N/m/?] n
Analog Devices AD7791 ADC driver (AD7791) [N/m/?] n
1 Like

https://openwrt.org/docs/guide-developer/build-system/use-buildsystem#defconfig

2 Likes

Not really sure what I have done but it work.
I will try again, and copy paste the step.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.