Skip to content

Commit

Permalink
Merge pull request themactep#40 from opensensor/master
Browse files Browse the repository at this point in the history
Changes to support t31 4.4
  • Loading branch information
themactep authored Apr 6, 2024
2 parents 3c1aac1 + 92435fd commit 20dea7c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions configs/testing/exp_t31l_sc2336_atbm6031_kernel44
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# FRAG: soc toolchain ccache brand rootfs kernel system target local
BR2_SOC_INGENIC_T31L=y
BR2_SENSOR_MODEL="sc2336"
BR2_PACKAGE_WIFI=y
BR2_PACKAGE_WIFI_ATBM6031=y
KERNEL_VERSION_4=y
2 changes: 1 addition & 1 deletion external.mk
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ else ifeq ($(KERNEL_VERSION_4),y)
$(info Building for kernel 4.x)
KERNEL_VERSION = 4.4
KERNEL_SITE = https://github.com/matteius/ingenic-t31-zrt-kernel-4.4.94
KERNEL_BRANCH = 4.4-latest
KERNEL_BRANCH = 4.4-stable
endif
KERNEL_HASH = $(shell git ls-remote $(KERNEL_SITE) $(KERNEL_BRANCH) | head -1 | cut -f1)
$(info KERNEL_HASH=$(shell git ls-remote $(KERNEL_SITE) $(KERNEL_BRANCH) | head -1 | cut -f1))
Expand Down
3 changes: 3 additions & 0 deletions package/prudynt-t/prudynt-t.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ PRUDYNT_T_DEPENDENCIES = libconfig thingino-live555 ingenic-sdk thingino-freetyp
PRUDYNT_T_GIT_SUBMODULES = YES

PRUDYNT_CFLAGS += -DPLATFORM_$(shell echo $(SOC_FAMILY) | tr a-z A-Z)
ifeq ($(KERNEL_VERSION_4),y)
PRUDYNT_CFLAGS += -DKERNEL_VERSION_4
endif

PRUDYNT_CFLAGS += \
-DNO_OPENSSL=1 -Os \
Expand Down

0 comments on commit 20dea7c

Please sign in to comment.