Created
September 16, 2016 02:45
-
-
Save MilhouseVH/876cbf9e838e0cb60489cbbb424e3efe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/config/options b/config/options | |
index 200b470..5be8822 100644 | |
--- a/config/options | |
+++ b/config/options | |
@@ -29,6 +29,7 @@ ROOT=`pwd` | |
DISTRO_DIR="$ROOT/distributions" | |
PROJECT_DIR="$ROOT/projects" | |
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk" | |
+[ "$TARGET_ARCH" = "x86_64" ] && LINUX_DEPENDS+=" $ROOT/packages/linux-firmware/intel-ucode/package.mk $ROOT/packages/linux-firmware/x86-firmware/package.mk" | |
# include versioning | |
. config/version | |
diff -Naur a/packages/linux/package.mk b/packages/linux/package.mk | |
--- a/packages/linux/package.mk 2016-09-16 01:46:30.376971044 +0100 | |
+++ b/packages/linux/package.mk 2016-09-16 01:47:02.697160285 +0100 | |
@@ -153,7 +153,7 @@ | |
mkdir -p $ROOT/$PKG_BUILD/external-firmware/intel-ucode | |
cp -a $(get_build_dir intel-ucode)/microcode.bin $ROOT/$PKG_BUILD/external-firmware/intel-ucode | |
- FW_LIST="$(find $ROOT/$PKG_BUILD/external-firmware -type f \( -iname '*.bin' -o -iname '*.fw' \) | sed 's|.*external-firmware/||' | xargs)" | |
+ FW_LIST="$(find $ROOT/$PKG_BUILD/external-firmware \( -type f -o -type l \) \( -iname '*.bin' -o -iname '*.fw' \) | sed 's|.*external-firmware/||' | sort | xargs)" | |
sed -i "s|CONFIG_EXTRA_FIRMWARE=.*|CONFIG_EXTRA_FIRMWARE=\"${FW_LIST}\"|" $ROOT/$PKG_BUILD/.config | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment