expedite: use a tar.bz2 tarball to save bandwitdh and disk space
[buildroot-gz.git] / package / makedevs / makedevs.mk
blobfa8e753cbdaccbdf6e5713013b5f98caf2a3f406
1 ################################################################################
3 # makedevs
5 ################################################################################
7 # source included in buildroot
8 MAKEDEVS_SOURCE =
9 HOST_MAKEDEVS_SOURCE =
11 MAKEDEVS_VERSION = buildroot-$(BR2_VERSION)
12 MAKEDEVS_LICENSE = GPLv2
14 define MAKEDEVS_BUILD_CMDS
15 $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
16 package/makedevs/makedevs.c -o $(@D)/makedevs
17 endef
19 define MAKEDEVS_INSTALL_TARGET_CMDS
20 $(INSTALL) -D -m 755 $(@D)/makedevs $(TARGET_DIR)/usr/sbin/makedevs
21 endef
23 define HOST_MAKEDEVS_BUILD_CMDS
24 $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
25 package/makedevs/makedevs.c -o $(@D)/makedevs
26 endef
28 define HOST_MAKEDEVS_INSTALL_CMDS
29 $(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
30 endef
32 $(eval $(generic-package))
33 $(eval $(host-generic-package))