ifeq ($(CONFIG_RESOURCE_FPGA),y)
LOCAL_CONFIG_H = fpga_config.h
-bin_PROGRAMS = frm_fpga
+shared_LIBRARIES = frm_fpga
frm_fpga_SOURCES = frm_fpga.c fpga_block.c
frm_fpga_CLIENT_IDL = res_fpga_idl.idl
frm_fpga_LIBS = frm forb contract fosa rt ulut fcb_client
include_HEADERS = res_fpga.h
include_GEN_HEADERS = res_fpga_idl.h
+
+bin_SCRIPTS += fpga
endif