190700ab03
[Peter: fix missing newline at eof] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
492 B
Makefile
23 lines
492 B
Makefile
#############################################################
|
|
#
|
|
# mcookie
|
|
#
|
|
#############################################################
|
|
|
|
# Source included in Buildroot
|
|
MCOOKIE_SOURCE =
|
|
|
|
define MCOOKIE_EXTRACT_CMDS
|
|
cp package/x11r7/mcookie/mcookie.c $(@D)/
|
|
endef
|
|
|
|
define MCOOKIE_BUILD_CMDS
|
|
(cd $(@D); $(TARGET_CC) -Wall -Os -s mcookie.c -o mcookie)
|
|
endef
|
|
|
|
define MCOOKIE_INSTALL_TARGET_CMDS
|
|
install -m 0755 -D $(@D)/mcookie $(TARGET_DIR)/usr/bin/mcookie
|
|
endef
|
|
|
|
$(eval $(call GENTARGETS))
|