Skip to content
View in the app

A better way to browse. Learn more.

Learn more

automated KERNEL_CONFIGURE + custom .config ? -> KERNEL_CUSTOM_CONFIG=

Featured Replies

@dear Igior and others

 

 

My R1 fw1 run fine past 2 month with the 3.19.3. now its time to move to 4.0.x

Igor - many thanks for KERNEL_CONFIGURE at your scripting implementing .

This shortcut my work with automated rebuild kernel  an bit  -- but not fully.

 

I have the need to been able to push my own kernel .config into your https://github.com/igorpecovnik/lib in an automated way.

But how about to push an custom .config into that?

welll ... My suggestion are here top add i.e at your compile.sh : KERNEL_CUSTOM_CONFIG="/path/file"

 

 

if file env set , use it instead from default patched kernel .config

How you think about this Idea ?

Haha, I am using "CUSTOM_KERNEL_CONFIG" for a while now in my edited script, but it need more testing and I need to add comments before making pull request...

 

Simply, my script does not load default .config when CUSTOM_KERNEL_CONFIG is set to "yes" AND .config exist in kernel directory.

 

It does not have the ability to change path to .config. :(

I have the need to been able to push my own kernel .config into your https://github.com/igorpecovnik/lib in an automated way.

 

Why don't you just do it? Search for "# Load libraries" in main.sh and add 

cat "/path/to/my/config" >"$SRC/config/linux-sunxi-next.config"

or replace in common.sh

cp $SRC/lib/config/$LINUXCONFIG.config $DEST/$LINUXSOURCE/.config

with

if [ "/path/to/my/config" -nt "$SRC/lib/config/$LINUXCONFIG.config" ]; then
    cp -p "/path/to/my/config" "$DEST/$LINUXSOURCE/.config"
else
    cp -p "$SRC/lib/config/$LINUXCONFIG.config" "$DEST/$LINUXSOURCE/.config"
fi
Guest
This topic is now closed to further replies.

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.