diff options
author | Joris van Vossen <joris.van.vossen@sintecs.nl> | 2018-03-28 11:28:06 (GMT) |
---|---|---|
committer | Joris van Vossen <joris.van.vossen@sintecs.nl> | 2018-05-23 11:55:16 (GMT) |
commit | 04e2bdeaec0303d7803df7d7b76c87d698cb8dc8 (patch) | |
tree | 508fb2172dc5ae678cc29a450abfb5d5824424dc | |
parent | 2d0aa2b66450a2dd5945693a93fee8de60107aef (diff) | |
download | lsdk-scalys-bsp-04e2bdeaec0303d7803df7d7b76c87d698cb8dc8.tar.xz |
-rw-r--r-- | grapeboard_support_lsdk-1712.patch | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/grapeboard_support_lsdk-1712.patch b/grapeboard_support_lsdk-1712.patch index c1c27ed..40d49b7 100644 --- a/grapeboard_support_lsdk-1712.patch +++ b/grapeboard_support_lsdk-1712.patch @@ -13,7 +13,7 @@ index a3cf0ed..671ff60 100644 +CONFIG_BUILD_RCW=n +CONFIG_BUILD_UBOOT=n +CONFIG_BUILD_UEFI=n -+CONFIG_BUILD_PPA=n ++CONFIG_BUILD_PPA=y CONFIG_BUILD_LINUX=y CONFIG_BUILD_RESTOOL=y CONFIG_BUILD_FLIB=y @@ -253,13 +253,7 @@ index 00067e1..ff65d31 100644 $(TOPDIR)/build/linux/$(KERNEL_TREE)/$(DESTARCH) && \ if [ $(DESTARCH) = arm32 ]; then rm -f $(TOPDIR)/build/linux/$(KERNEL_TREE)/arm32/fsl-ls2*.dtb; fi && \ cd $(TOPDIR)/build/linux/$(KERNEL_TREE)/$(DESTARCH) && if [ -f fsl-ls1043a-rdb-sdk.dtb ]; then \ -@@ -99,11 +102,28 @@ ifeq ($(CONFIG_BUILD_LTTNG), y) - @if [ ! -d $(TOPDIR)/build/linux/kernel/$(DESTARCH) ]; then cd $(TOPDIR) && \ - flex-builder -c linux -a $(DESTARCH) -f $(CONFIGLIST) && cd -; fi && \ - cd lttng-modules && echo -e "\nBuilding LTTng modules ..." && \ -- $(MAKE) KERNELDIR=$(KERNEL_PATH) && \ -+ $(MAKE) KERNELDIR=$(KERNEL_PATH) && \l - $(MAKE) KERNELDIR=$(KERNEL_PATH) modules_install && \ +@@ -104,6 +107,24 @@ echo build LTTng modules done! endif @@ -271,7 +265,8 @@ index 00067e1..ff65d31 100644 + @if [ ! -d $(TOPDIR)/build/linux/kernel/$(DESTARCH) ]; then cd $(TOPDIR) && \ + flex-builder -c linux -a $(DESTARCH) -f $(CONFIGLIST) && cd -; fi && \ + echo -e "\nBuilding RTL8723BU module ..." && \ -+ sed -i 's/EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/g' rtl8723bu/Makefile && \ ++ sed -i 's/EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/g' rtl8723bu/Makefile && \ ++ sed -i 's/#define CONFIG_IPS 1/\/\/#define CONFIG_IPS 1/g' rtl8723bu/include/autoconf.h && \ + cd rtl8723bu && \ + curbrch=`cd $(KERNEL_PATH) && git branch -v | grep '^*' | cut -d' ' -f2` && \ + $(MAKE) KSRC=$(TOPDIR)/build/linux/$(KERNEL_TREE)/$(DESTARCH)/output/$$curbrch && \ |