mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 08:57:44 +00:00
at91bootstrap: allow specification of a custom patch directory
Fixes bug #4664. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
1b1fcb638e
commit
502465e435
1
CHANGES
1
CHANGES
@ -59,6 +59,7 @@
|
|||||||
#3403: libgpg-error: bump to version 1.10
|
#3403: libgpg-error: bump to version 1.10
|
||||||
#3409: libgpg-error: download from gnupg.org
|
#3409: libgpg-error: download from gnupg.org
|
||||||
#3421: nano: make tiny flag optional
|
#3421: nano: make tiny flag optional
|
||||||
|
#4664: Cannot patch AT91Bootstrap
|
||||||
#4700: setlocalversion not working for combination svn/ubuntu 11.10...
|
#4700: setlocalversion not working for combination svn/ubuntu 11.10...
|
||||||
|
|
||||||
2011.11, Released November 30th, 2011:
|
2011.11, Released November 30th, 2011:
|
||||||
|
@ -10,6 +10,15 @@ config BR2_TARGET_AT91BOOTSTRAP
|
|||||||
|
|
||||||
if BR2_TARGET_AT91BOOTSTRAP
|
if BR2_TARGET_AT91BOOTSTRAP
|
||||||
|
|
||||||
|
config BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR
|
||||||
|
string "custom patch dir"
|
||||||
|
help
|
||||||
|
If your board requires custom patches, add the path to the
|
||||||
|
directory containing the patches here. The patches must be
|
||||||
|
named at91bootstrap-<version>-<something>.patch.
|
||||||
|
|
||||||
|
Most users may leave this empty
|
||||||
|
|
||||||
config BR2_TARGET_AT91BOOTSTRAP_BOARD
|
config BR2_TARGET_AT91BOOTSTRAP_BOARD
|
||||||
string "Bootstrap board"
|
string "Bootstrap board"
|
||||||
default ""
|
default ""
|
||||||
|
@ -21,6 +21,15 @@ define AT91BOOTSTRAP_EXTRACT_CMDS
|
|||||||
rmdir $(BUILD_DIR)/Bootstrap-v$(AT91BOOTSTRAP_VERSION)
|
rmdir $(BUILD_DIR)/Bootstrap-v$(AT91BOOTSTRAP_VERSION)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifneq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR)),)
|
||||||
|
define AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES
|
||||||
|
support/scripts/apply-patches.sh $(@D) $(BR2_TARGET_AT91BOOTSTRAP_CUSTOM_PATCH_DIR) \
|
||||||
|
at91bootstrap-$(AT91BOOTSTRAP_VERSION)-\*.patch
|
||||||
|
endef
|
||||||
|
|
||||||
|
AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES
|
||||||
|
endif
|
||||||
|
|
||||||
define AT91BOOTSTRAP_BUILD_CMDS
|
define AT91BOOTSTRAP_BUILD_CMDS
|
||||||
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
|
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user