updated files and added busybox vars
This commit is contained in:
+3
-3
@@ -11,12 +11,12 @@ kernel() {
|
||||
mkdir -p $build/kernel # &>> $fulllogfile
|
||||
cd $build/kernel
|
||||
printf "$UGREEN** Extracting Linux Kernel\n$RESET"
|
||||
tar -xvf $root/downloads/linux-$KERNEL_VERSION.tar.xz # &>> $fulllogfile
|
||||
tar -xf $root/downloads/linux-$KERNEL_VERSION.tar.xz # &>> $fulllogfile
|
||||
check $? "Extract Linux Kernel"
|
||||
cd linux-$KERNEL_VERSION
|
||||
printf "$UGREEN** Configuring Linux Kernel\n$RESET"
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- mrproper # &>> $fulllogfile
|
||||
cp -v $root/board/${BOARD_NAME}/linux-$KERNEL_VERSION.config .config # &>> $fulllogfile
|
||||
cp $root/board/${BOARD_NAME}/linux-$KERNEL_VERSION.config .config # &>> $fulllogfile
|
||||
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- oldconfig # &>> $fulllogfile
|
||||
check $? "Configure Linux Kernel"
|
||||
printf "$UGREEN** Building Linux Kernel\n$RESET"
|
||||
@@ -67,7 +67,7 @@ kernel_headers() {
|
||||
printf "$UGREEN** Building Linux Kernel headers\n$RESET"
|
||||
[ ! -d $build/kernel-headers ] && mkdir $build/kernel-headers
|
||||
cd $build/kernel-headers
|
||||
tar -xvf $root/downloads/linux-$KERNEL_VERSION.tar.xz
|
||||
tar -xf $root/downloads/linux-$KERNEL_VERSION.tar.xz
|
||||
check $? "Extract Linux Kernel"
|
||||
cd linux-$KERNEL_VERSION
|
||||
make ARCH=$ARCH headers
|
||||
|
||||
Reference in New Issue
Block a user