ed: Convert to generic package infrastructure
The package uses custom configure and Makefile files. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
4cef036b20
commit
2a37b625e2
|
@ -11,4 +11,20 @@ ED_CONF_OPT = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|||
ED_LICENSE = GPLv3+
|
||||
ED_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
define ED_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
define ED_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define ED_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in a new issue