forked from lunar-linux/moonbase-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
# Do not install firmware on modules_install | ||
sedit '/Makefile.*__fw_modinst/d' Makefile | ||
# Do not install firmware on modules_install | ||
sedit '/Makefile.*__fw_modinst/d' Makefile | ||
|
||
# Needed for x86_64 | ||
MYARCH="`arch | grep -qw i.86 && echo i386 || arch`" | ||
MYARCH="`arch | grep -qw i.86 && echo i386 || arch`" | ||
|
||
PATCH_VERSION=$(echo $VERSION | cut -d . -f 3) | ||
FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0} | ||
PATCH_VERSION=$(echo $VERSION | cut -d . -f 3) | ||
FULL_VERSION=$(echo $VERSION | cut -d . -f 1,2).${PATCH_VERSION:-0} | ||
|
||
echo | make oldconfig | ||
LD_PRELOAD= cp .config $CONFIG_CACHE/.config.current | ||
rm -f arch/${MYARCH}/boot/bzImage | ||
echo | make oldconfig | ||
LD_PRELOAD= cp .config $CONFIG_CACHE/.config.current | ||
rm -f arch/${MYARCH}/boot/bzImage | ||
|
||
make ${MAKES:+-j$MAKES} bzImage | ||
make ${MAKES:+-j$MAKES} modules | ||
backup_mods_krnl $FULL_VERSION | ||
prepare_install | ||
make modules_install | ||
cp arch/${MYARCH}/boot/bzImage /boot/vmlinuz-$FULL_VERSION-$(arch) | ||
cp System.map /boot/System.map-$FULL_VERSION-$(arch) | ||
gzip -c -9 .config > /boot/config-$FULL_VERSION-$(arch).gz | ||
make ${MAKES:+-j$MAKES} bzImage | ||
make ${MAKES:+-j$MAKES} modules | ||
backup_mods_krnl $FULL_VERSION | ||
prepare_install | ||
make modules_install | ||
|
||
cp arch/${MYARCH}/boot/bzImage /boot/vmlinuz-$FULL_VERSION-$(arch) | ||
cp System.map /boot/System.map-$FULL_VERSION-$(arch) | ||
gzip -c -9 .config > /boot/config-$FULL_VERSION-$(arch).gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters