jpeg-turbo: fix legal info
[buildroot-gz.git] / package / makedevs / makedevs.mk
blob9bd684f0363bd9a4d53d685e9e5a369ffe0c2ba4
1 ################################################################################
3 # makedevs
5 ################################################################################
7 MAKEDEVS_LICENSE = GPLv2
9 HOST_MAKEDEVS_CFLAGS = $(HOST_CFLAGS)
10 HOST_MAKEDEVS_LDFLAGS = $(HOST_LDFLAGS)
12 ifeq ($(BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES),y)
13 HOST_MAKEDEVS_DEPENDENCIES += host-libcap
14 HOST_MAKEDEVS_CFLAGS += -DEXTENDED_ATTRIBUTES
15 HOST_MAKEDEVS_LDFLAGS += -lcap
16 endif
18 define HOST_MAKEDEVS_BUILD_CMDS
19 $(HOSTCC) $(HOST_MAKEDEVS_CFLAGS) package/makedevs/makedevs.c \
20 -o $(@D)/makedevs $(HOST_MAKEDEVS_LDFLAGS)
21 endef
23 define HOST_MAKEDEVS_INSTALL_CMDS
24 $(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
25 endef
27 $(eval $(host-generic-package))