Skip to content

Commit 41e88d7

Browse files
committed
add pocketbookhf target
For models like the InkPad One.
1 parent a6257c4 commit 41e88d7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Makefile.defs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ else ifeq ($(TARGET), pocketbook)
226226
CHOST?=arm-linux-gnueabi
227227
endif
228228
GLIBC_VERSION_MAX = 2.5
229+
else ifeq ($(TARGET), pocketbookhf)
230+
CHOST?=arm-pocketbookhf-linux-gnueabihf
231+
POCKETBOOK=1
232+
GLIBC_VERSION_MAX = 2.41
229233
else ifeq ($(TARGET), remarkable)
230234
CHOST?=arm-remarkable-linux-gnueabihf
231235
REMARKABLE=1
@@ -516,6 +520,8 @@ else ifeq ($(TARGET), pocketbook)
516520
COMPAT_CFLAGS+=$(UBUNTU_COMPAT_CFLAGS)
517521
COMPAT_CXXFLAGS+=$(UBUNTU_COMPAT_CFLAGS)
518522
endif
523+
else ifeq ($(TARGET), pocketbookhf)
524+
TARGET_CFLAGS:=-march=armv8.2-a -mfloat-abi=hard -mthumb -mcpu=cortex-a55
519525
else ifeq ($(TARGET), kindle)
520526
TARGET_CFLAGS:=$(ARMV7_A8_ARCH)
521527
TARGET_CFLAGS+=-mfloat-abi=softfp

0 commit comments

Comments
 (0)