summaryrefslogtreecommitdiff
path: root/package/fbset
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-09-26 20:54:34 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-26 20:54:34 +0200
commit789f61379afa8d065edeb6f876e9d0025c4f4fe5 (patch)
tree66202755bc3181ee189e9afd2cfe07cd7cda43cd /package/fbset
parentb850ce811fa6749cc14123fe72bb20a85e6f8bd5 (diff)
fbset: misc cleanup
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>
Diffstat (limited to 'package/fbset')
-rw-r--r--package/fbset/fbset.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/fbset/fbset.mk b/package/fbset/fbset.mk
index 748920db3..8926f4c47 100644
--- a/package/fbset/fbset.mk
+++ b/package/fbset/fbset.mk
@@ -6,20 +6,20 @@
FBSET_VERSION = 2.1
FBSET_SOURCE = fbset-$(FBSET_VERSION).tar.gz
FBSET_SITE = http://users.telenet.be/geertu/Linux/fbdev
-FBSET_BINARY = fbset
-FBSET_TARGET_BINARY = usr/sbin/$(FBSET_BINARY)
define FBSET_BUILD_CMDS
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define FBSET_INSTALL_TARGET_CMDS
- $(INSTALL) -m 755 $(@D)/$(FBSET_BINARY) $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
+ $(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
- rm -f $(TARGET_DIR)/$(FBSET_TARGET_BINARY)
-$(MAKE) -C $(@D) clean
endef