mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libcanfestival: fix build on LEDE buildbots using ccache
The previous attempt to fix the build error was not successfull and introduced needlessly a new patch. However, the configure already provide the required functionality, use it instead. This should now really solve the build. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -38,6 +38,9 @@ TARGET = SUB_TARGET
|
||||
CAN_DRIVER = SUB_CAN_DRIVER
|
||||
TIMERS_DRIVER = SUB_TIMERS_DRIVER
|
||||
ENABLE_LSS = SUB_ENABLE_LSS
|
||||
+AR ?= $(BINUTILS_PREFIX)ar
|
||||
+RANLIB ?= $(BINUTILS_PREFIX)ranlib
|
||||
+LD ?= $(BINUTILS_PREFIX)ld
|
||||
|
||||
INCLUDES = -I../include -I../include/$(TARGET) -I../include/$(TIMERS_DRIVER) -I../drivers/$(TARGET)
|
||||
|
||||
@@ -114,15 +117,15 @@ libcanfestival.a: $(OBJS)
|
||||
@echo "*********************************************"
|
||||
@echo "**Building [libcanfestival.a]"
|
||||
@echo "*********************************************"
|
||||
- $(BINUTILS_PREFIX)ar rc $@ $(OBJS)
|
||||
- $(BINUTILS_PREFIX)ranlib $@
|
||||
+ $(AR) rc $@ $(OBJS)
|
||||
+ $(RANLIB) $@
|
||||
|
||||
libcanfestival.o: $(OBJS)
|
||||
@echo " "
|
||||
@echo "*********************************************"
|
||||
@echo "**Prelink [libcanfestival.o]"
|
||||
@echo "*********************************************"
|
||||
- $(BINUTILS_PREFIX)ld -r $(OBJS) -o $@
|
||||
+ $(LD) -r $(OBJS) -o $@
|
||||
|
||||
$(TARGET)_%.o: %.c
|
||||
@echo " "
|
||||
Reference in New Issue
Block a user