psfreedom: update
authorMichael Büsch <mb@bu3sch.de>
Sun, 5 Sep 2010 11:03:39 +0000 (11:03 +0000)
committerMichael Büsch <mb@bu3sch.de>
Sun, 5 Sep 2010 11:03:39 +0000 (11:03 +0000)
SVN-Revision: 22932

utils/psfreedom/Makefile

index bec27aa..790b4e9 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=psfreedom
-PKG_REV:=83445097c1c7687b5e6ccadca90126ca7a9a38b9
+PKG_REV:=d62f4aedf33c1ad5222a8c970e623da5441c40db
 PKG_VERSION:=$(PKG_REV)
 PKG_RELEASE:=1
 
@@ -43,4 +43,20 @@ define Build/Compile
                modules
 endef
 
+define KernelPackage/psfreedom/install
+       $(INSTALL_DIR) $(1)/lib/firmware
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/payload_bdemu.bin \
+               $(1)/lib/firmware/psfreedom_payload_bdemu.bin
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/payload_no_bdemu.bin \
+               $(1)/lib/firmware/psfreedom_payload_no_bdemu.bin
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/shellcode_exec_payload.bin \
+               $(1)/lib/firmware/psfreedom_shellcode_exec_payload.bin
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/shellcode_panic.bin \
+               $(1)/lib/firmware/psfreedom_shellcode_panic.bin
+       ( cd $(1)/lib/firmware; \
+               $(LN) psfreedom_payload_bdemu.bin psfreedom_payload.bin; \
+               $(LN) psfreedom_shellcode_exec_payload.bin psfreedom_shellcode.bin; \
+       )
+endef
+
 $(eval $(call KernelPackage,psfreedom))