mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 05:23:39 +08:00
061b5806d1
- Drop patches (already in version)
- libevent is mandatory since
d2339c2a76
- This bump will fix the following build failure with gcc >= 14:
hpav_cfg.c: In function 'pushbutton_request':
hpav_cfg.c:256:37: error: passing argument 2 of 'send_vendor_pkt' makes pointer from integer without a cast [-Wint-conversion]
256 | return send_vendor_pkt(ctx, mac, HPAV_MMTYPE_MS_PB_ENC,
| ^~~
| |
| uint8_t {aka unsigned char}
hpav_cfg.c:123:64: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'uint8_t' {aka 'unsigned char'}
123 | static int send_vendor_pkt(struct context *ctx, const uint8_t *to,
| ~~~~~~~~~~~~~~~^~
hpav_cfg.c: In function 'main':
hpav_cfg.c:406:48: error: passing argument 2 of 'pushbutton_request' makes integer from pointer without a cast [-Wint-conversion]
406 | ret = pushbutton_request(&ctx, mac);
| ^~~
| |
| uint8_t * {aka unsigned char *}
hpav_cfg.c:254:60: note: expected 'uint8_t' {aka 'unsigned char'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
254 | static int pushbutton_request(struct context *ctx, uint8_t mac)
| ~~~~~~~~^~~
Fixes:
- http://autobuild.buildroot.org/results/5a65337366e52c6234d8d154b7e9a0296e02f1dd
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# faifa
|
|
#
|
|
################################################################################
|
|
|
|
FAIFA_VERSION = fb91bf684fd19f03115b8dc76b57bb5a5a4ec05b
|
|
FAIFA_SITE = $(call github,ffainelli,faifa,$(FAIFA_VERSION))
|
|
FAIFA_INSTALL_STAGING = YES
|
|
FAIFA_DEPENDENCIES = libevent libpcap host-autoconf
|
|
FAIFA_LICENSE = BSD-3-Clause
|
|
FAIFA_LICENSE_FILES = COPYING
|
|
|
|
FAIFA_MAKE_OPTS += GIT_REV=$(FAIFA_VERSION)
|
|
|
|
# This package uses autoconf, but not automake, so we need to call
|
|
# their special autogen.sh script, and have custom target and staging
|
|
# installation commands.
|
|
|
|
define FAIFA_RUN_AUTOGEN
|
|
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
|
endef
|
|
FAIFA_PRE_CONFIGURE_HOOKS += FAIFA_RUN_AUTOGEN
|
|
|
|
define FAIFA_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
PREFIX=/usr \
|
|
STRIP=/bin/true \
|
|
DESTDIR=$(TARGET_DIR) \
|
|
install
|
|
endef
|
|
|
|
define FAIFA_INSTALL_STAGING_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
PREFIX=/usr \
|
|
STRIP=/bin/true \
|
|
DESTDIR=$(STAGING_DIR) \
|
|
install
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|