789f61379a
Use install -D so it doesn't fail if usr/sbin doesn't exist, remove unneeded stripping and move target cleanup to _UNINSTALL_TARGET_CMDS. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
27 lines
611 B
Makefile
27 lines
611 B
Makefile
#############################################################
|
|
#
|
|
# fbset
|
|
#
|
|
#############################################################
|
|
FBSET_VERSION = 2.1
|
|
FBSET_SOURCE = fbset-$(FBSET_VERSION).tar.gz
|
|
FBSET_SITE = http://users.telenet.be/geertu/Linux/fbdev
|
|
|
|
define FBSET_BUILD_CMDS
|
|
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define FBSET_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 755 $(@D)/fbset $(TARGET_DIR)/usr/sbin/fbset
|
|
endef
|
|
|
|
define FBSET_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/usr/sbin/fbset
|
|
endef
|
|
|
|
define FBSET_CLEAN_CMDS
|
|
-$(MAKE) -C $(@D) clean
|
|
endef
|
|
|
|
$(eval $(call GENTARGETS,package,fbset))
|