Skip to content

Commit

Permalink
ingenic-t31: update buildroot package makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Dec 3, 2023
1 parent cc046d4 commit eacc8ba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions general/package/ingenic-libimp-control/ingenic-libimp-control.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
#
################################################################################

INGENIC_LIBIMP_CONTROL_VERSION = master
INGENIC_LIBIMP_CONTROL_SITE = $(call github,gtxaspec,libimp_control,$(INGENIC_LIBIMP_CONTROL_VERSION))
INGENIC_LIBIMP_CONTROL_LICENSE = GPL-2.0
INGENIC_LIBIMP_CONTROL_LICENSE_FILES = COPYING
ifeq ($(LOCAL_DOWNLOAD),y)
INGENIC_LIBIMP_CONTROL_SITE_METHOD = git
INGENIC_LIBIMP_CONTROL_SITE = https://github.com/gtxaspec/libimp_control
INGENIC_LIBIMP_CONTROL_VERSION = $(shell git ls-remote $(INGENIC_LIBIMP_CONTROL_SITE) HEAD | head -1 | cut -f1)
else
INGENIC_LIBIMP_CONTROL_SITE = https://github.com/gtxaspec/libimp_control/archive
INGENIC_LIBIMP_CONTROL_SOURCE = master.tar.gz
endif

define INGENIC_LIBIMP_CONTROL_BUILD_CMDS
$(MAKE) CONFIG_SOC=$(OPENIPC_SOC_MODEL) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)
Expand Down
12 changes: 8 additions & 4 deletions general/package/ingenic-pwm/ingenic-pwm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
#
################################################################################

INGENIC_PWM_VERSION = master
INGENIC_PWM_SITE = $(call github,gtxaspec,ingenic-pwm,$(INGENIC_PWM_VERSION))
INGENIC_PWM_LICENSE = GPL-2.0
INGENIC_PWM_LICENSE_FILES = COPYING
ifeq ($(LOCAL_DOWNLOAD),y)
INGENIC_PWM_SITE_METHOD = git
INGENIC_PWM_SITE = https://github.com/gtxaspec/ingenic-pwm
INGENIC_PWM_VERSION = $(shell git ls-remote $(INGENIC_PWM_SITE) HEAD | head -1 | cut -f1)
else
INGENIC_PWM_SITE = https://github.com/gtxaspec/ingenic-pwm/archive
INGENIC_PWM_SOURCE = master.tar.gz
endif

define INGENIC_PWM_BUILD_CMDS
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)
Expand Down

0 comments on commit eacc8ba

Please sign in to comment.