1 ################################################################################
5 ################################################################################
7 # source included in buildroot
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
19 define MAKEDEVS_INSTALL_TARGET_CMDS
20 $(INSTALL
) -D
-m
755 $(@D
)/makedevs
$(TARGET_DIR
)/usr
/sbin
/makedevs
23 define HOST_MAKEDEVS_BUILD_CMDS
24 $(HOSTCC
) $(HOST_CFLAGS
) $(HOST_LDFLAGS
) \
25 package
/makedevs
/makedevs.c
-o
$(@D
)/makedevs
28 define HOST_MAKEDEVS_INSTALL_CMDS
29 $(INSTALL
) -D
-m
755 $(@D
)/makedevs
$(HOST_DIR
)/usr
/bin
/makedevs
32 $(eval
$(generic-package
))
33 $(eval
$(host-generic-package
))