forked from LuckfoxTECH/luckfox-pico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alistair Jordan
committed
Dec 1, 2023
1 parent
cc3fca3
commit 5e68d1e
Showing
8 changed files
with
116 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
#ifeq ($(SYSDRV_PARAM), ) | ||
# SYSDRV_PARAM:=../../../Makefile.param | ||
# include $(SYSDRV_PARAM) | ||
#endif | ||
|
||
export LC_ALL=C | ||
SHELL:=/bin/bash | ||
|
||
CURRENT_DIR := $(shell pwd) | ||
PKG_NAME := wspr | ||
PKG_BIN := out | ||
|
||
all: | ||
@test -f $(PKG_BIN)/usr/sbin/$(PKG_NAME) || (\ | ||
mkdir -p $(CURRENT_DIR)/$(PKG_BIN)/usr/sbin; \ | ||
gcc main.c wspr.c -o $(CURRENT_DIR)/$(PKG_BIN)/usr/sbin/$(PKG_NAME); \ | ||
) | ||
$(call MAROC_COPY_PKG_TO_SYSDRV_OUTPUT, $(SYSDRV_DIR_OUT_ROOTFS), $(PKG_BIN)) | ||
|
||
clean: distclean | ||
|
||
distclean: | ||
-rm -rf $(PKG_NAME) $(PKG_BIN) | ||
|
Binary file not shown.
Empty file.