Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Select a custom board-specific config during kernel build

Featured Replies

Hello, guys,

 

is this possible to choose a custom board-specific kernel config located in "userpatches" based on $BOARD variable? I am trying to customize different boards and I have no idea how to provide a specific config for, let's say, sun6i bananapi  and sun8i orangepipc when I build "next" kernel, because all of them are covered by linux-sunxi-next.config. It seems like I need to change your scripts but I wouldn't like to..

Thanks.

 

 

5 minutes ago, ssuloev said:

is this possible to choose a custom board-specific kernel config located in "userpatches" based on $BOARD variable?

Yes, by adding something like this to userpatches/lib.config

if [[ -f $SRC/userpatches/linux-${LINUXFAMILY}-${BRANCH}-${BOARD}.config ]]; then
	display_alert "Using board specific kernel config" "linux-${LINUXFAMILY}-${BRANCH}-${BOARD}" "info"
	LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}-${BOARD}"
fi

 

  • Author
Just now, zador.blood.stained said:

Yes, by adding something like this to userpatches/lib.config


if [[ -f $SRC/userpatches/linux-${LINUXFAMILY}-${BRANCH}-${BOARD}.config ]]; then
	display_alert "Using board specific kernel config" "linux-${LINUXFAMILY}-${BRANCH}-${BOARD}" "info"
	LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}-${BOARD}"
fi

 

Thank you, that's what I need.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.