Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit cdd3d6b

Browse files
procountXECDesign
authored andcommitted
improve build for con2fbamp
1 parent a61ed6c commit cdd3d6b

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

buildroot/package/con2fbmap/con2fbmap.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55
#############################################################
66

7-
87
CON2FBMAP_VERSION = 2.1
98
CON2FBMAP_SITE = $(TOPDIR)/../con2fbmap
109
CON2FBMAP_SITE_METHOD = local
@@ -13,8 +12,7 @@ CON2FBMAP_LICENSE_FILES = copyright
1312
CON2FBMAP_INSTALL_STAGING = NO
1413

1514
define CON2FBMAP_BUILD_CMDS
16-
cd $(@D)
17-
$(MAKE) -C $(@D) all
15+
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)
1816
$(TARGET_STRIP) $(@D)/con2fbmap
1917
endef
2018

con2fbmap/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
CC=$(PWD)/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
2-
3-
all: con2fbmap
4-
$(MAKE) $(AM_MAKEFLAGS) con2fbmap
5-
61
con2fbmap: con2fbmap.c
7-
$(CC) -static con2fbmap.c -o con2fbmap
8-
9-
2+
$(CC) con2fbmap.c -o con2fbmap
103

0 commit comments

Comments
 (0)