Fix gcc shared libs, add mainline drm display patch.
This commit is contained in:
parent
68317933f2
commit
85bbf0e55b
3 changed files with 36 additions and 1 deletions
|
@ -12,7 +12,8 @@ PKG_LONGDESC="This package contains a precompiled kernel image and the modules."
|
|||
PKG_IS_KERNEL_PKG="yes"
|
||||
PKG_STAMP="${KERNEL_TARGET} ${KERNEL_MAKE_EXTRACMD}"
|
||||
|
||||
PKG_PATCH_DIRS="${LINUX}"
|
||||
PKG_PATCH_DIRS+="${LINUX}"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
case "${LINUX}" in
|
||||
*)
|
||||
|
|
32
packages/kernel/linux/patches/X86_64/001-win600-panel.patch
Normal file
32
packages/kernel/linux/patches/X86_64/001-win600-panel.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
|
||||
index 4e853acfd1e8..14b162167436 100644
|
||||
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
|
||||
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
|
||||
@@ -121,6 +121,12 @@ static const struct drm_dmi_panel_orientation_data lcd1600x2560_leftside_up = {
|
||||
.orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP,
|
||||
};
|
||||
|
||||
+static const struct drm_dmi_panel_orientation_data win600 = {
|
||||
+ .width = 720,
|
||||
+ .height = 1280,
|
||||
+ .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
|
||||
+};
|
||||
+
|
||||
static const struct dmi_system_id orientation_data[] = {
|
||||
{ /* Acer One 10 (S1003) */
|
||||
.matches = {
|
||||
@@ -311,7 +317,13 @@ static const struct dmi_system_id orientation_data[] = {
|
||||
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),
|
||||
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
|
||||
},
|
||||
- .driver_data = (void *)&lcd800x1280_rightside_up,
|
||||
+ .driver_data = (void *)&lcd720x1280_rightside_up,
|
||||
+ }, { /* Anbernic Win600 */
|
||||
+ .matches = {
|
||||
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Anbernic",
|
||||
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Win600",
|
||||
+ },
|
||||
+ .driver_data = (void *)&win600,
|
||||
},
|
||||
{}
|
||||
};
|
|
@ -47,6 +47,8 @@ GCC_COMMON_CONFIGURE_OPTS="--target=${TARGET_NAME} \
|
|||
--enable-libgomp \
|
||||
--disable-libmpx \
|
||||
--disable-libssp \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-__cxa_atexit"
|
||||
|
||||
PKG_CONFIGURE_OPTS_BOOTSTRAP="${GCC_COMMON_CONFIGURE_OPTS} \
|
||||
|
|
Loading…
Reference in a new issue