Changeset 16605 in niluje


Ignore:
Timestamp:
Oct 26, 2019, 4:15:53 PM (7 weeks ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Refresh KOReader patchset
Location:
Configs/trunk/Kindle/Misc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/LuaJIT/do_luajit.sh

    r15568 r16605  
    1111# Then we apply a small Makefile patch to make it LTO-friendly...
    1212patch -p1 < ../../koreader-luajit-makefile-tweaks.patch
     13# And verbose
     14patch -p1 < ../../koreader-luajit-verbose-build.patch
    1315
    1416# Remember our native CFLAGs before they get squished by the TC env...
  • Configs/trunk/Kindle/Misc/koreader-luajit-makefile-tweaks.patch

    r15906 r16605  
    11diff --git a/src/Makefile b/src/Makefile
    2 index d22eb73..ade37d2 100644
     2index d22eb73..be0b659 100644
    33--- a/src/Makefile
    44+++ b/src/Makefile
    5 @@ -213,8 +213,9 @@ TARGET_CC= $(STATIC_CC)
    6  TARGET_STCC= $(STATIC_CC)
     5@@ -214,6 +214,7 @@ TARGET_STCC= $(STATIC_CC)
    76 TARGET_DYNCC= $(DYNAMIC_CC)
    87 TARGET_LD= $(CROSS)$(CC)
    9 -TARGET_AR= $(CROSS)ar rcus
    10 -TARGET_STRIP= $(CROSS)strip
    11 +TARGET_AR= $(CROSS)gcc-ar rcus
    12 +TARGET_RANLIB= $(CROSS)gcc-ranlib
    13 +TARGET_STRIP= $(CROSS)strip --strip-unneeded
     8 TARGET_AR= $(CROSS)ar rcus
     9+TARGET_RANLIB= $(CROSS)ranlib
     10 TARGET_STRIP= $(CROSS)strip
    1411 
    1512 TARGET_LIBPATH= $(or $(PREFIX),/usr/local)/$(or $(MULTILIB),lib)
    16  TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER)
    17 @@ -590,10 +591,10 @@ endif
    18  endif
    19  endif
    20  
    21 -Q= @
    22 -E= @echo
    23 -#Q=
    24 -#E= @:
    25 +#Q= @
    26 +#E= @echo
    27 +Q=
    28 +E= @:
    29  
    30  ##############################################################################
    31  # Make targets.
    32 @@ -634,7 +635,7 @@ depend:
     13@@ -345,6 +346,7 @@ else
     14   endif
     15   ifeq (Linux,$(TARGET_SYS))
     16     TARGET_XLIBS+= -ldl
     17+    TARGET_STRIP+= --strip-unneeded
     18   endif
     19   ifeq (GNU/kFreeBSD,$(TARGET_SYS))
     20     TARGET_XLIBS+= -ldl
     21@@ -634,7 +636,7 @@ depend:
    3322 
    3423 $(MINILUA_T): $(MINILUA_O)
     
    3928 host/buildvm_arch.h: $(DASM_DASC) $(DASM_DEP) $(DASM_DIR)/*.lua
    4029        $(E) "DYNASM    $@"
    41 @@ -644,7 +645,7 @@ host/buildvm.o: $(DASM_DIR)/dasm_*.h
     30@@ -644,7 +646,7 @@ host/buildvm.o: $(DASM_DIR)/dasm_*.h
    4231 
    4332 $(BUILDVM_T): $(BUILDVM_O)
     
    4837 $(LJVM_BOUT): $(BUILDVM_T)
    4938        $(E) "BUILDVM   $@"
    50 @@ -705,16 +706,17 @@ include Makefile.dep
     39@@ -705,16 +707,17 @@ include Makefile.dep
    5140 $(LUAJIT_A): $(LJVMCORE_O)
    5241        $(E) "AR        $@"
Note: See TracChangeset for help on using the changeset viewer.