2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-06-09 13:11:10 +02:00
|
|
|
#
|
2010-03-24 23:12:29 +01:00
|
|
|
# makedevs
|
2005-06-09 13:11:10 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-06-09 13:11:10 +02:00
|
|
|
|
2011-03-12 22:19:37 +01:00
|
|
|
# source included in buildroot
|
|
|
|
MAKEDEVS_SOURCE =
|
|
|
|
HOST_MAKEDEVS_SOURCE =
|
2010-03-24 23:12:29 +01:00
|
|
|
|
2014-06-11 21:12:28 +02:00
|
|
|
MAKEDEVS_VERSION = buildroot-$(BR2_VERSION)
|
|
|
|
|
2011-03-12 22:19:37 +01:00
|
|
|
define MAKEDEVS_BUILD_CMDS
|
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
|
|
|
package/makedevs/makedevs.c -o $(@D)/makedevs
|
|
|
|
endef
|
2005-06-09 13:11:10 +02:00
|
|
|
|
2011-03-12 22:19:37 +01:00
|
|
|
define MAKEDEVS_INSTALL_TARGET_CMDS
|
2014-06-01 14:38:01 +02:00
|
|
|
$(INSTALL) -D -m 755 $(@D)/makedevs $(TARGET_DIR)/usr/sbin/makedevs
|
2011-03-12 22:19:37 +01:00
|
|
|
endef
|
2005-06-09 13:11:10 +02:00
|
|
|
|
2011-03-12 22:19:37 +01:00
|
|
|
define HOST_MAKEDEVS_BUILD_CMDS
|
|
|
|
$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
|
|
|
|
package/makedevs/makedevs.c -o $(@D)/makedevs
|
|
|
|
endef
|
2005-06-09 13:11:10 +02:00
|
|
|
|
2011-03-12 22:19:37 +01:00
|
|
|
define HOST_MAKEDEVS_INSTALL_CMDS
|
2014-06-01 14:38:01 +02:00
|
|
|
$(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
|
2011-03-12 22:19:37 +01:00
|
|
|
endef
|
2005-06-09 13:11:10 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|