projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] update haserl to 0.9.25 (#5179)
[openwrt/svn-archive/archive.git]
/
utils
/
psplash
/
Makefile
diff --git
a/utils/psplash/Makefile
b/utils/psplash/Makefile
index 8c9a508135b08b9e0d38ede5fd1417fc5f4a3ccd..0426cb8c9067776381596b3273de5d37d344c9f6 100644
(file)
--- a/
utils/psplash/Makefile
+++ b/
utils/psplash/Makefile
@@
-15,6
+15,13
@@
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://projects.o-hand.com/sources/psplash/
PKG_MD5SUM:=7649b7e0fac573eca2048a2a267e242b
PKG_SOURCE_URL:=http://projects.o-hand.com/sources/psplash/
PKG_MD5SUM:=7649b7e0fac573eca2048a2a267e242b
+PKG_INSTALL:=1
+
+IMAGE_FILE:=generic
+ifeq ($(CONFIG_TARGET_s3c24xx),y)
+ IMAGE_FILE:=480x640
+endif
+
include $(INCLUDE_DIR)/package.mk
define Package/psplash
include $(INCLUDE_DIR)/package.mk
define Package/psplash
@@
-29,20
+36,21
@@
define Package/psplash/description
PSplash is a userspace graphical boot splash screen.
endef
PSplash is a userspace graphical boot splash screen.
endef
-
-define Build/Compile
-
$(MAKE) -C $(PKG_BUILD_DIR)
\
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+define Build/Configure
+ $(CP) \
+
./files/image_$(IMAGE_FILE).h
\
+ $(PKG_BUILD_DIR)/psplash-owrt-img.h
+ $(call Build/Configure/Default)
endef
define Package/psplash/install
endef
define Package/psplash/install
- $(INSTALL_DIR) $(1)/bin
+ $(INSTALL_DIR) $(1)/bin
$(1)/etc/init.d
$(CP) \
$(CP) \
- $(PKG_INSTALL_DIR)/usr/bin/psplash \
- $(PKG_INSTALL_DIR)/usr/bin/psplash-write \
+ $(PKG_INSTALL_DIR)/usr/bin/psplash* \
$(1)/bin/
$(1)/bin/
+ $(INSTALL_BIN) \
+ ./files/init \
+ $(1)/etc/init.d/psplash
endef
endef
-
$(eval $(call BuildPackage,psplash))
$(eval $(call BuildPackage,psplash))