Jump to content

automated KERNEL_CONFIGURE + custom .config ? -> KERNEL_CUSTOM_CONFIG=


remsnet

Recommended Posts

@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 ?

Link to comment
Share on other sites

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. :(

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines