Hi Folks
I am observing the following when building for bcmrpi
echo bcmrpi
bcmrpi
xzcat patch-4.4.3.xz | patch -p1 -s -d
/home/mega/leaf/devel/bering-6/source/armv6zk-unknown-linux-uclibcgnueabi/linux/linux-4.1
1 out of 1 hunk FAILED -- saving rejects to file
Documentation/ABI/testing/sysfs-bus-usb.rej
1 out of 1 hunk FAILED -- saving rejects to file
Documentation/usb/power-management.txt.rej
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
The text leading up to this was:
--------------------------
It looks like the code at
ifneq ($(KARCHS),"bcmrpi")
xzcat $(UPDATE_KERNEL_SOURCE_PATCH) | patch -p1 -s -d $(LINUX_DIR)
endif
is not respected
The following change appears to fix this (and follows the gmake sysntax)
diff --git a/repo/linux/buildtool.mk b/repo/linux/buildtool.mk
index 42edd5b..f61bc6f 100644
--- a/repo/linux/buildtool.mk
+++ b/repo/linux/buildtool.mk
@@ -8,7 +8,7 @@ unexport CROSS_COMPILE
.source:
$(BT_SETUP_BUILDDIR) -v $(KERNEL_BASE_SOURCE)
-ifneq ($(KARCHS),"bcmrpi")
+ifneq ($(KARCHS),bcmrpi)
xzcat $(UPDATE_KERNEL_SOURCE_PATCH) | patch -p1 -s -d $(LINUX_DIR)
endif
ln -s $(LINUX_DIR) linux
cheers
ET
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel